I Need Help with Instadub's RSS photo posting feature

Ask any support / help / issues / problem or question related to any of our other products
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: I Need Help with Instadub's RSS photo posting feature

Post by martin@rootjazz »

opranda wrote: Fri Aug 03, 2018 4:40 pm Hello! You can show the screenshot of the template for (http://rss.cnn.com/rss/cnn_topstories.rss)
what have you got so far?
What are you trying to get?

You won't be able to get all images, just one per item, which do you want? From the feed or from the page linked from the feed?
opranda
Posts: 5
Joined: Fri Aug 03, 2018 4:37 pm

Re: I Need Help with Instadub's RSS photo posting feature

Post by opranda »

I need to get a description and a picture from the site (if possible, and video)
Photo or video from the page associated with the feed.
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: I Need Help with Instadub's RSS photo posting feature

Post by martin@rootjazz »

opranda wrote: Fri Aug 03, 2018 7:10 pm I need to get a description and a picture from the site (if possible, and video)
Photo or video from the page associated with the feed.
yes, but which.

If you want to pull an image from the page linked, there there has to be a pattern that can match to that image. If not, you can only extract something from the feed (first image from the image list for example).

But *you* have to let me know which you want. Otherwise it will go something like this.

me: here you can
you: thanks, but I don't want that image
me: ok, here you go
you: thanks but I don't want that image either
...

so I end up doing it multiple times for you. Which is why you need to specify EXACTLY what you want, then I can show you how to do it
opranda
Posts: 5
Joined: Fri Aug 03, 2018 4:37 pm

Re: I Need Help with Instadub's RSS photo posting feature

Post by opranda »

Yes, I need this option. --> "If not, you can only extract something from the feed (first image from the image list for example)."
opranda
Posts: 5
Joined: Fri Aug 03, 2018 4:37 pm

Re: I Need Help with Instadub's RSS photo posting feature

Post by opranda »

The program can be used through rss video? For example, from this site? (http://www.dailymail.co.uk/video/videos.rss)
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: I Need Help with Instadub's RSS photo posting feature

Post by martin@rootjazz »

ok so grab the RSS item / entry

Code: Select all

<item>
<title>
<![CDATA[Special election and primaries in four other states: What to watch]]>
</title>
<description>Tuesday marks the final special election before November, and a reliably Republican seat is once again at risk of switching parties.&lt;div class="feedflare"&gt;
&lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/rss/cnn_topstories/~4/662b752YZrM" height="1" width="1" alt=""/&gt;</description>
<link>http://rss.cnn.com/~r/rss/cnn_topstories/~3/662b752YZrM/index.html</link>
<guid isPermaLink="false">https://www.cnn.com/2018/08/07/politics/what-to-watch-ohio-kansas-michigan-missouri-washington/index.html</guid>
<pubDate>Tue, 07 Aug 2018 10:20:01 GMT</pubDate>
<media:group>
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-super-169.jpg" height="619" width="1100" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-large-11.jpg" height="300" width="300" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-vertical-large-gallery.jpg" height="552" width="414" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-video-synd-2.jpg" height="480" width="640" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-live-video.jpg" height="324" width="576" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-t1-main.jpg" height="250" width="250" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-vertical-gallery.jpg" height="360" width="270" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-story-body.jpg" height="169" width="300" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-t1-main.jpg" height="250" width="250" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-assign.jpg" height="186" width="248" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-hp-video.jpg" height="144" width="256" />
</media:group>
<feedburner:origLink>https://www.cnn.com/2018/08/07/politics/what-to-watch-ohio-kansas-michigan-missouri-washington/index.html</feedburner:origLink>
</item>

the ITEM code
<item>

URL
<media:content[@url]>

CAPTIONS
<title>
or
<description>


note, with <Description> the HTML will not appear correctly, so probably best to use <title>


also you will need to update, as the multiple <media:content> properties were breaking something
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: I Need Help with Instadub's RSS photo posting feature

Post by martin@rootjazz »

opranda wrote: Sun Aug 05, 2018 11:35 am The program can be used through rss video? For example, from this site? (http://www.dailymail.co.uk/video/videos.rss)
no, there is not currently an RSS VIDEO UPLOADING module
opranda
Posts: 5
Joined: Fri Aug 03, 2018 4:37 pm

Re: I Need Help with Instadub's RSS photo posting feature

Post by opranda »

martin@rootjazz wrote: Tue Aug 07, 2018 2:34 pm ok so grab the RSS item / entry

Code: Select all

<item>
<title>
<![CDATA[Special election and primaries in four other states: What to watch]]>
</title>
<description>Tuesday marks the final special election before November, and a reliably Republican seat is once again at risk of switching parties.&lt;div class="feedflare"&gt;
&lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/rss/cnn_topstories/~4/662b752YZrM" height="1" width="1" alt=""/&gt;</description>
<link>http://rss.cnn.com/~r/rss/cnn_topstories/~3/662b752YZrM/index.html</link>
<guid isPermaLink="false">https://www.cnn.com/2018/08/07/politics/what-to-watch-ohio-kansas-michigan-missouri-washington/index.html</guid>
<pubDate>Tue, 07 Aug 2018 10:20:01 GMT</pubDate>
<media:group>
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-super-169.jpg" height="619" width="1100" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-large-11.jpg" height="300" width="300" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-vertical-large-gallery.jpg" height="552" width="414" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-video-synd-2.jpg" height="480" width="640" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-live-video.jpg" height="324" width="576" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-t1-main.jpg" height="250" width="250" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-vertical-gallery.jpg" height="360" width="270" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-story-body.jpg" height="169" width="300" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-t1-main.jpg" height="250" width="250" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-assign.jpg" height="186" width="248" />
<media:content medium="image" url="https://cdn.cnn.com/cnnnext/dam/assets/180806213908-ohio-balderson-oconnor-split-hp-video.jpg" height="144" width="256" />
</media:group>
<feedburner:origLink>https://www.cnn.com/2018/08/07/politics/what-to-watch-ohio-kansas-michigan-missouri-washington/index.html</feedburner:origLink>
</item>

Thank you. Tell me please, where to insert the code?
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: I Need Help with Instadub's RSS photo posting feature

Post by martin@rootjazz »

Please read the RSS module in the docs:

https://rootjazz.com/instadub/documentation
https://rootjazz.com/instadub/documenta ... -feed.html


IMAGE POST RSS TAB
click ASSIGN RSS META
Post Reply