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

Words
178
Reading
1 min
Listen
Play
8y

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

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