- 🇺🇸United States DamienMcKenna NH, USA
Moving this to the main module as I merged the functionality there.
Hi there,
I have the following issue.
I use views to create a geolocation results display and I wish to attach an rss feed to the view.
Everything works fine except for the enclosure image media tag.
When creating a normal vews rss feed on the normal db I get the usual enclosure tag:
eg:
<item> <title>The Ritz-Carlton Berlin</title>
<link>http://www.xxx.info/12345</link>
<description>Erleben Sie das The Ritz-Carlton, Berlin – ein unvergessliches 5-Sterne-Superior-Hotel, direkt am Potsdamer Platz gelegen und nur wenige Schritte von unzähligen Shopping- und Unterhaltungsmöglichkeiten entfernt. Das Luxushotel verfügt über einzigartige Räumlichkeiten und bietet einen anspruchsvollen Service. Als Gast unseres Hauses können Sie sich in der Ruhe und Abgeschiedenheit des Wellness…</description>
<comments>http://www.ritzcarlton.com</comments>
<enclosure url="http://www.xxx.info/files/styles/medium/public/uploads/entry/node_10288/pictures/picture_10288_ritz_berlin_00122_vert_x518_front.jpg" length="9775" type="image/jpeg" />
<guid isPermaLink="false">12345</guid>
</item>
Namely:
<enclosure url="http://www.xxx.info/files/styles/medium/public/uploads/entry/node_10288/pictures/picture_10288_ritz_berlin_00122_vert_x518_front.jpg" length="9775" type="image/jpeg" />
Now when I use the solr_database to create a view my enclosure element looks like this:
<enclosure> <enclosure url="http://www.xxx.info/files/styles/medium/public/uploads/entry/node_10330/pictures/picture_10330_hasir_mitte1.jpg" length="8127" type="image/jpeg" />
</enclosure>
So it displays html and the entire tag again inside the tag...
How can I fix this issue?
I am using:
Views RSS 7.x-2.0-rc3
Views RSS: Media (MRSS) Elements 7.x-1.x-dev
I create a view - select RSS Feed - Fields as display type.
Attach the fields I require - including an image field.
Set the formatter as RSS enclosure element
select the correct image preset:
Multiple field settings:
display all values in same row: yes
Simple seperator 'blank'
display 1 value starting from 0
Style Settings - nothing ticked
Reqrite results: nothing ticked.
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Moving this to the main module as I merged the functionality there.