Project Update: steem-exif-spider-bot - New features (Post Support)

in #utopian-io7 years ago (edited)

New Post Support!

<p dir="auto">This is a huge feature because it basically eliminates adding EXIF data through comments. EXIF data through comments will still exist, but will only be used for outreach. This feature allows users to give the bot user the ability to post EXIF data directly to a users post. This is really important as it becomes more critical to the steemit community to make bots more useful while limiting the spam produced. <p dir="auto"><img src="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/2e26186d3799290b0cf62b475b0c2c918db6image.png" alt="image.png" srcset="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/2e26186d3799290b0cf62b475b0c2c918db6image.png 1x, https://images.hive.blog/1536x0/https://cdn.utopian.io/posts/2e26186d3799290b0cf62b475b0c2c918db6image.png 2x" /> <h2>Usage <p dir="auto">Users need only to add <code>@botname [optional profile name] to a post. <h2>Implementation <p dir="auto">The bot will detect posts created with the <code>@botname mention and will parse out images that are in the post using the following regex <code>/\!\[.*\]\(.+\)/g. It then appends the image markdown with an additional markdown table containing the EXIF information. The markdown template is built by providing EXIF tag data read from the image through handlebars templating engine. <pre><code>![](https://steemitimages.com/DQmSKyJYsCnGazMXrvdXc34ndEtfTTc334AAqCiQGgqs72h/DSC05616.JPG) ---- |Tag Name|Description| |--------|-----------| |Make|SONY| |Model|ILCE-7SM2| |Software|ILCE-7SM2 v2.10| |DateTime|2018:04:01 18:01:28| |ExposureTime|0.004| |FNumber|6.3| |ExposureProgram|Normal program| <p dir="auto"><img src="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/09d4cb942e110367ebd51e550afddfec78b2image.png" srcset="https://images.hive.blog/768x0/https://cdn.utopian.io/posts/09d4cb942e110367ebd51e550afddfec78b2image.png 1x, https://images.hive.blog/1536x0/https://cdn.utopian.io/posts/09d4cb942e110367ebd51e550afddfec78b2image.png 2x" /> <p dir="auto">Once the post is modified, the <code>@botname mention is removed to not repeatedly update the same post. <h2>Roadmap <ul> <li>User interface for adding <code>account_auth for users <li>Custom profile/preset support <p dir="auto"><br /><hr /><em>Posted on <a href="https://utopian.io/utopian-io/@r351574nc3/contribution-2" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian.io - Rewarding Open Source Contributors<hr /><p>
Sort:  

Fantastic!
I read it all and fathomed nothing about it.

@youtake pulls you up ! This vote was sent to you by @stimialiti!

It gets better every time!

Lord, make me an instrument of thy peace. Where there is hatred, let me sow love. - Francis of Assisi

@banjo @cleverbot

Upvoted & following you!

<p dir="auto"><strong>On ne souffre jamais que du mal que nous font ceux qu<code>on aime. Le mal qui vient dun ennemi ne compte pas. - Victor Hugo <p dir="auto"><center><span><img src="https://images.hive.blog/768x0/https://justpaste.it/files/justpaste/d545/a19432284/ok7.jpg" srcset="https://images.hive.blog/768x0/https://justpaste.it/files/justpaste/d545/a19432284/ok7.jpg 1x, https://images.hive.blog/1536x0/https://justpaste.it/files/justpaste/d545/a19432284/ok7.jpg 2x" /> <p dir="auto"><span><a href="/@banjo">@banjo <a href="/@cleverbot">@cleverbot

Thanks for the contribution. It has been approved.



Chat with us on Discord.Need help? Write a ticket on https://support.utopian.io.

[utopian-moderator]

Thanks for the approval. I can't wait to get the next set of features that will finally transform this into something really good.

Hey @r351574nc3 I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Utopian Witness!

Participate on Discord. Lets GROW TOGETHER!

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

I want to try but found that there is no such user as @botname. Did you mean to mention exactly @botname or "botname" is a variable to be replaced by a bot name?

Yes, you replace with the name of the account you want to use for your bot. If you want to see it in action, there's an exifr account that is running. See
https://steemit.com/introduceyourself/@exifr/introducing-exifr

<p dir="auto">It is not using post support yet though. Before post support is working, on <code>exifr I am trying to get a public configuration page working for people to use and signup using <code>steemconnect. Follow the bot, and you will know when it's enabled.

Thanks for your prompt reply. I also read your other post few days ago. That means, to mention @exifr in a post will get a comment with the meta data of photo? Does it work for the first photo or multiple photos of the same post? Sorry for too many questions because I am interested in your work :)

For now, you want to mention @exifr in a comment (not a post). In the future, @exifr will support posts. Also, at this time, just the first photo will get exif data. Steem users thought it was too much spam. In the future, each photo will get exif data. Here's an example https://steemit.com/photofeed/@r351574nc3/drama-for-drama-sake

The second photo got exif data only because the first had no exif data at all. Each photo will get exif data. Sorry if this is confusing. To make it short:

  1. Exif data in comments and only on one photo is how it works now
  2. Next version will support @exifr in posts, data in posts, and all photos for the post.