Hi. i been trying for a good while to get pictures from news articles but i some how it dosnt work. Ive been trying to use the [Tag|Namespace] but no result. so im asking here for help.
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
<title>ITavisen</title>
<atom:link href="https://itavisen.no/feed/" rel="self" type="application/rss+xml" />
<link>https://itavisen.no</link>
<description>For deg som lever digitalt</description>
<lastBuildDate>Thu, 19 Apr 2018 07:40:20 +0000</lastBuildDate>
<language>nb-NO</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<item>
<title>Snart er det slutt for Operas populære gratistjeneste</title>
<link>https://itavisen.no/2018/04/19/snart-er-det-slutt-for-operas-populaere-gratistjeneste/</link>
<pubDate>Thu, 19 Apr 2018 07:40:20 +0000</pubDate>
<dc:creator><![CDATA[Martin Kynningsrud Størbu]]></dc:creator>
<category><![CDATA[Nyheter]]></category>
<category><![CDATA[opera]]></category>
<category><![CDATA[personvern]]></category>
<category><![CDATA[vpn]]></category>
<guid isPermaLink="false">https://itavisen.no/?p=251523</guid>
<description><![CDATA[<a href="https://itavisen.no/2018/04/19/snart-er-det-slutt-for-operas-populaere-gratistjeneste/"><img src="https://itavisen.no/wp-content/uploads/2018/04/Opera-VPN-2-320x180.jpg" style="width:100%;height:auto;" alt="Snart er det slutt for Operas populære gratistjeneste" /></a><br/>Legger ned VPN, men tilbyr et alternativ.]]></description>
</item> </item>
This is the feed and im trying to get the picture from Item, Description, img.
Yes I also had this problem sometimes. These feeds have the image inside the description in a html and not in a RSS standard way as a separate tag. If someone will find a way, I also would be glad. My developers said that they only have the possibility to parse the feed and make a new feed with conform RSS.
But I think, the news provider does this to protect their content.
It’s not really a custom tag as @heiko mentioned the images seems to be (for whatever reason) in the description tag, as such if you add the standard [Description] in your ticker I’d expect it to show the images (as well as anything else in that tag).
I see that but @Peter the image gets so small. so when i try to work around it and use zoom in css, it gets all blury. so ill try and contact the company that made the rss and ask if them can picture in an own img tag.