InstaDUB Documentation

Documentation for InstaDUB - Instagram bot / automation software


Got any questions? Come to the forum

Post Images via RSS feed

../images/post_images_from_rss.png

Posting images from RSS is similar to posting images from a folder with regards to the basic settings. The only differences are:

  • Ignore words
  • Include words
  • Assign RSS meta

Ignore / include words allows you to try and filter in / out what images should be posted. Perhaps you do not want to post all images from the feed, then you can specify to ignore images if the RSS meta values contain any specified words, or you can specify what words (include) must be present in order to post that image

Specify RSS Meta

In order to post images from an RSS feed, you must instruct InstaDUB how to find the image and caption. This is quite an advanced feature. You will need to know: XML / RSS formatting, Xpath and HTML.

../images/post_images_from_rss_meta.png
NOTE:
More specific help on setting your RSS meta is on the forum, along with tokens and examples: `<http://rootjazz.com/forum/viewtopic.php?f=28&t=3428>`_

You will need to specify three values 1) How to extract each item from the feed 2) How to extract the image 3) How to extract the caption

We can specify an RSS element via the notation <item> or <title> or <link> etc.

Sometimes we do not want the whole element body, just a subsection, for this we use xpath: <media:content[@url]> Here the xpath statement is contained within the RSS element declaration.

1) Item

The RSS item is usually denoted by the field <item> although it is sometimes <entry>

2) How to extract the image

It is unlikely the image URL is a specific RSS element, so we are going to have to scrape it. There are a few ways to do this. We can pull it via Xpath from an RSS element. We can pull it via pattern matching with a src="..." attribute, or we can scrape it from a page linked via the RSS feed.

More specific help on this, along with tokens can be found at the forum: http://rootjazz.com/forum/viewtopic.php?f=28&t=3428

3) How to extract the caption

Extract a caption is usually fairly straight forward, you will either be wanting to use the RSS item's description or title.

RSS meta tokens

<description>[srclike=imgur]

The above token [srclike=XXX] is a pattern match token, where we will return any src attribute that contains XXX within the RSS description element so:

<description> <p>This is the body of the description and the image we want is <img src="http://website.com/images/uploads/830229oiuhf.jpg"></p></description>

To extract this image, assuming all images are specified the same in all items:

*<description>[srclike=website.com/images/uploads]*

The Post From RSS Feed module is a great way to keep your account posting on topic content, you can set the module to check the feed for new images every X hours, ensure only unique images are posted and keep your followers engaged!