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

in #utopian-io7 years ago (edited)

New Post Support!

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.

image.png

Usage

Users need only to add @botname [optional profile name] to a post.

Implementation

The bot will detect posts created with the @botname mention and will parse out images that are in the post using the following regex /\!\[.*\]\(.+\)/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.

![](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|

Once the post is modified, the @botname mention is removed to not repeatedly update the same post.

Roadmap

  • User interface for adding account_auth for users
  • Custom profile/preset support



Posted on Utopian.io - Rewarding Open Source Contributors

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!

On ne souffre jamais que du mal que nous font ceux quon aime. Le mal qui vient dun ennemi ne compte pas. - Victor Hugo

@banjo @cleverbot

Thanks for the contribution. It has been approved.


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

[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

It is not using post support yet though. Before post support is working, on exifr I am trying to get a public configuration page working for people to use and signup using 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.