This is an old revision of the document!
You can find the RSS feed in your software, named rss_listings.php. If you do not make any changes at all to the file, by default it will show 20 of the most recently placed listings.
If you are not familiar with what RSS is, you can find information on this RSS Introduction from w3schools.com, an excellent resource.
These instructions will walk you through the steps needed, to allow the RSS feed used when browsing categories, only use listings found in the category currently being viewed. Note that the default templates already "link" to the RSS feed which shows the most recent 20 listings placed from all categories on the site. This will make it so that when you browse to a category, the "linked" RSS feed only shows classifieds and auctions recently placed in that category.
Skills
Instructions
<?php //rss_listings.config.php - settings for the rss_listings.php feed //Allow category ID to be specified in the URL $feed->catId = geoListingFeed::URL_SET;
<
<link rel="alternate" type="application/rss+xml" title="Newest Listing Feed" href="rss_listings.php" />
<
<link rel="alternate" type="application/rss+xml" title="{if $category_id}Category{else}Newest{/if} Listing Feed" href="rss_listings.php{if $category_id}?catId={$category_id}{/if}" />
If you cannot find the line to replace, you would add the above right before the </head> in your template file. <tip c n>Note: Does your template design work differently than the default templates? If you do not have a head.tpl file or some of your templates do not use that file for the <head>…</head> section, just add the following line to your design where you do have the <head> section:
<link rel="alternate" type="application/rss+xml" title="{if $category_id}Category{else}Newest{/if} Listing Feed" href="rss_listings.php{if $category_id}?catId={$category_id}{/if}" />
</tip> <