Ask any support / help / issues / problem or question related to any of our other products
martin@rootjazz
Site Admin
Posts: 34706 Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:
Post
by martin@rootjazz » Fri Aug 03, 2018 7:00 pm
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
Post
by opranda » 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.
martin@rootjazz
Site Admin
Posts: 34706 Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:
Post
by martin@rootjazz » Fri Aug 03, 2018 10:47 pm
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
Post
by opranda » Sat Aug 04, 2018 1:14 pm
Yes, I need this option. --> "If not, you can only extract something from the feed (first image from the image list for example)."
martin@rootjazz
Site Admin
Posts: 34706 Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:
Post
by martin@rootjazz » 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.<div class="feedflare">
<a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=qj6IDK7rITs" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/rss/cnn_topstories/~4/662b752YZrM" height="1" width="1" alt=""/></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
martin@rootjazz
Site Admin
Posts: 34706 Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:
Post
by martin@rootjazz » Tue Aug 07, 2018 2:37 pm
no, there is not currently an RSS VIDEO UPLOADING module
opranda
Posts: 5 Joined: Fri Aug 03, 2018 4:37 pm
Post
by opranda » Tue Aug 07, 2018 8:31 pm
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.<div class="feedflare">
<a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:V_sGLiPBpWU" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?d=qj6IDK7rITs" border="0"></img></a> <a href="http://rss.cnn.com/~ff/rss/cnn_topstories?a=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/rss/cnn_topstories?i=662b752YZrM:YorlD-Pzpnk:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/rss/cnn_topstories/~4/662b752YZrM" height="1" width="1" alt=""/></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?