RSS Asset

Can't find any documentation on the RSS Asset or RSS Data Source Asset. Can anyone point me in the right direction or give me a run down on how to use these assets?

I'm pretty sure the docs have not been finished yet.


The RSS Feed asset allows you to output an RSS feed from your site. You first configure an asset listing to generate a list of assets that you want to output, and then create an RSS Feed that points at that asset listing. You then need to configure the RSS Feed assets to pull information from the listed assets into XML tags. It's not easy to explain without screenshots as the process is quite involved.



The RSS Data Source pulls data from an external RSS feed and allows you to display the results using an asset listing. You point the asset listing at the RSS Data Source, set the asset type to list as "Data Source Record Set" and then use keywords to display the data from the RSS items in your list.


Do we have any example, or is someone willing to expalin the process? We want to use the RSS feed for our news page, which is an asset listing. I have the RSS asset configured, but now what? I have searched the forums, and all available docu. Any example for what to add to the parse file to get this up and working? Any help would be appreciated!

I see that everyone has been asking about this. I have decided I will patiently wait for the documentation.

You don't need to change the parsefile, the RSS Feed asset bypasses any design to present pure XML. What you need to configure is mapping keywords from your asset listing with the required XML components for the RSS feed.

Got it.


Once again Avi…to think of the Matrix systems you must build…I bet you build them in your sleep! :slight_smile:

Ok,


I have created an Asset listing page with the keyword %asset_listing% in the page contents and %asset_contents% in the default format of the Display Formats options.



It has a child News Item asset with News Headline, Contact Name, Contact phone, Summary, and Body filled out.



When previewed this asset listing works as expected displaying the contents of the child item.



I have an RSS Feed asset set for the Atom 1.0 standard and pointing to the asset listing page.



Under Build RSS I have Keywords as



news_item - asset_name - title,

news_item - asset_attribute_show_summary - summary,

news_item - asset_attribute_show_body - content



Also have first three mandatory Channel items left to default.



When previewing the RSS asset in ie7 I get a blank page with basic HTML source (no XML) and it isn't recognised as a feed.



What am I missing?

What do you get when you right-click on the RSS asset, and click preview? Do you see XML tags, along with your info?

I get a blank page and view source gives me:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>

<BODY></BODY></HTML>



So no XML…??

I am using the RSS 2.0 option. Maybe you should try that. Using the "preview" screen of the asset, not view source in the browser, I was able to trouble shoot and add all the needed information to get it to work.

[quote]So no XML…??
[right][post=“13855”]<{POST_SNAPBACK}>[/post][/right][/quote]



Weird. The RSS Feed asset should be overriding any HTML. What happens in another browser?

AggyUC,


It sounds like your web server is sending a default blank HTML page, which can happen when PHP throws an error and error reporting is turned off. Can you check the error log while refreshing the page?

I just got my first RSS working a couple of days ago and encountered the same issue AggyUC is having (I'm using RSS 2.0). It appears to happen when you have an incorrect keyword or incorrect data in a required field. I ended up doing one item at a time to build up the feed checking each time to make sure it still worked. When it works I get XML, when not its blank HTML.




Q: Is there a keyword for putting the page contents into the RSS feed?



cheers



steve

[quote]Q: Is there a keyword for putting the page contents into the RSS feed?
[right][post=“13869”]<{POST_SNAPBACK}>[/post][/right][/quote]



%asset_contents% should work.

hm, i was sure I'd tried that…might have been when i encountered the blank page issue though. will give it a shot.


cheers

[quote]hm, i was sure I’d tried that…might have been when i encountered the blank page issue though. will give it a shot.
[right][post=“13872”]<{POST_SNAPBACK}>[/post][/right][/quote]



I’m about to build an RSS Feed that uses it today, so if there’s a problem, I’m sure to find it. :slight_smile:

%asset_contents% didn't work out. unless its a bug in 3.10.1?


i add a new Standard Page keyword, I select the description or comment items, then instead of using the keyword dropdown (which doesn't include contents that i could find) i put "%asset_contents%" or "asset_contents" in the textbox next to the dropdown. once i submit it appears in the list at the top of the screen just like the others. in the xml while the other keywords produce xml items instead for description or comment it renders as a single empty tag:



<description/>



or



<comment/>



bug in the odler version? or bug with the human operator? :slight_smile:



cheers

No, its not working in the latest development version either. Could you log this as a bug, please?

%asset_contents%, if I remember correctly, is something created by the asset listing itself and not part of the standard asset set. A lot of things go on behind the scenes to make sure the contents get the correct paint layout (or not if you use the _raw keyword).


So I am not surprised that the RSS Feed asset does not provide a keyword for the asset contents.

Perhaps try a news item asset?


You can then try %asset_attribute_body% and %asset_attribute_summary%.

[quote]You can then try %asset_attribute_body% and %asset_attribute_summary%.
[right][post=“13882”]<{POST_SNAPBACK}>[/post][/right][/quote]



This is what I use most of the time. :slight_smile: