I need to create a custom rss feed in the following form. Just wondering if it is possible to do this with this module and if so, how and if I can do it all in my own custom module without tampering with the views-rss and associated modules directly.

Thanks in advance.

Here's the schema:

<rss version="2.0" 
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:geo="www.w3.org/2003/01/geo/wgs84_pos#" 
	xmlns:eng="http://engbms.it/2012/01/eng"
> 
	<channel> 
		<pubDate>Mon, 21 Jul 2014 09:52:45 +0200</pubDate>
	 	<lastBuildDate>Wed, 23 Jul 2014 12:12:25 +0200</lastBuildDate>
	 	<item> 
			<title>Test article</title>
	 		<link>&lt;a href=&quot;/eng/node/1&quot;&gt;view&lt;/a&gt;</link>
	 		
			<eng:link label="vai sul link" url="&lt;a href=&quot;/eng/node/1&quot;&gt;view&lt;/a&gt;" />

			<guid>1</guid>
			<pubDate>Mon, 21 Jul 2014 09:52:45 +0200</pubDate>
	 		<description>&lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#039;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.&lt;/p&gt;</description>

			<media:thumbnail url="http://localhost/eng/sites/default/files/field/image/1024px-Smiley.svg_.png" width="1024" height="1024" />
			<media:thumbnail url="http://localhost/eng/sites/default/files/field/image/articolo.png" width="1680" height="1022" />
			<media:thumbnail url="http://localhost/eng/sites/default/files/field/image/articolo1.png" width="1680" height="1022" />

			<geo:lat>12.456</geo:lat>
			<geo:long>69.333</geo:long>
		
			<media:content type="video/x-flv" url="https://www.youtube.com/watch?v=EDir9-UoPjo">
				<media:title type="plain">Test</media:title>
				<media:description type="plain">test</media:description>
				<media:thumbnail url="http://localhost/eng/sites/default/files/video_embed_field_thumbnails/youtube/EDir9-UoPjo.jpg"></media:thumbnail>
			</media:content>

			<media:content type="video/avi" url="https://www.youtube.com/watch?v=foIs0KMN0">
				<media:title type="plain">Test 2</media:title>
				<media:description type="plain">test 2</media:description>
				<media:thumbnail url="http://localhost/eng/sites/default/files/video_embed_field_thumbnails/youtube/foIs0KMN0.jpg"></media:thumbnail>
			</media:content>

			<media:content type="video/mp4" url="https://www.youtube.com/watch?v=OkjIcOOzz">
				<media:title type="plain">Test 3</media:title>
				<media:description type="plain">test 3</media:description>
				<media:thumbnail url="http://localhost/eng/sites/default/files/video_embed_field_thumbnails/youtube/OkjIcOOzz.jpg"></media:thumbnail>
			</media:content>
		</item>
	</channel>
</rss>

Comments

maciej.zgadzaj’s picture

Component: Code » Documentation
Priority: Major » Normal
Status: Active » Fixed

You want to read module documentation.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.