Support Forums

excluding catgories from the RSS feed

This is a discussion on excluding catgories from the RSS feed within the Templates, HTML, CSS, and Design Help forums, part of the General category; Solve one problem and another one comes up! I would like to exclude a category from the rss feed, how ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 05-07-2010, 10:55 AM   #1
Customer
 
Join Date: May 2010
Posts: 9
Rep Power: 0
ThinkBusiness is on a distinguished road
Lightbulb excluding catgories from the RSS feed

Solve one problem and another one comes up!

I would like to exclude a category from the rss feed, how would this be possible?

I have gone through the documentation for the rss feed but cannot find anything or any way to do that.

"(integer) An integer of a single category you want to display. "

I thought I could then add all the categories except the one I don't require:

external.php?category=1+category=2
external.php?category=1&category=2
external.php?category=1%category=2
external.php?category=1,category=2

Tried everything but couldn't do it that way.

Is there any way to exclude a category from the rss feed something like:

external.php?excludecategory=3


Any help would be appreciated!
ThinkBusiness is offline   Reply With Quote
Old 05-07-2010, 12:09 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That is an interesting concept and one I've not heard before, unfortunately that kind of functionality isn't built into the script.

The script itself would need to be modified in order to achieve that. If you're good with php, I'm sure it could be done. If you attempt to do that, make sure you work from a copy of the file though.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-10-2010, 03:08 PM   #3
Customer
 
Join Date: May 2010
Posts: 9
Rep Power: 0
ThinkBusiness is on a distinguished road
Default

Thanks Mike,

The challenge was that the rss was being used to display a "latest ad" elsewhere on the site, (non 68c controlled) and we decided to use 68c to have bars listings as there are so many.

As the bars were not exactly an advert we wanted to exclude them, afor now as it is not an essential need we will just back date the bars listings so that they do not appear as "latest adverts".

Thanks!
__________________
ThinkBusiness on Twitter
ThinkBusiness is offline   Reply With Quote
Old 05-11-2010, 05:31 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

You may like to consider the external listings module and the external search results module. These give you a lot of control over display of adverts on other webs sites. In the latter module, anything you can construct through the search function can be framed into another site.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Feed EnergyFreak Technical Support 12 03-10-2010 11:22 AM
Using external.php as RSS Feed- Damon Technical Support 2 03-14-2008 02:28 AM


All times are GMT -4. The time now is 01:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0