What i need is a set of RSS management and filtering tools in PHP. I need a couple of functions to include in my own software. I need the following features to be developed:
- Multiple RSS combiner. I can input as many RSS feeds i want and they are combined in one output. Just like RSS Magician ([url removed, login to view]) but i don't need a new RSS to be generated and i want this function very fast.
- RSS sorting. All the entries from the RSS feeds combined must be randomly or alphabetically sorted. This must be an option to choose.
- Word replacement. All the text from the entries from the RSS feeds combined should be replaced with words from an .txt dictionary. Just like RSS Magician ([url removed, login to view])
- Custom page for every entry. When the user clicks in the entry title, instead of opening the feed URL, a page must be opened with the entry title and description and a "Read more" link. This link is the link to the link in the rss feed entry.
If you're a good coder, you can do it. Or can't you? :D
Please, give me a sample of your work. As i said before, this will be integrated with my own software, so nothing must be beautiful. Just like an API. I don't need an interface at all. Just tell me how it works and how i can integrate it with my own script. I want a MySQL free script. Yes, guys, no database. Please.
In my script, i use the following code to import and show rss feeds:
attached file ([url removed, login to view])
Can you make your script compatible? And easy to use? Also, i would like that in features that need options to be set, those options be configured trough variables. For example: in RSS sorting, 0 for random, 1 for alphabetically. The following variable must be set: $sort = "0"
And, for the multiple RSS combiner, i would like that the additional feeds URL's to be imported from a .txt. Like: feeds.txt. One line per url.
Here's the script guideline:
# The RSS parser gets the main RSS file and combines this RSS file with other "X" RSS files imported from a .txt file
# After parsing the data in the RSS feeds, the script must replace all the words mentioned in a .txt dictionary file (word=otherword format)
# After parsing the data in the RSS feeds, the script must sort the RSS items alphabetically or randomly
# The parsed and filtered data is now shown in the page. Using the following format: RSS-Item-Title and RSS-Item-Description. Now begins the more complicated part. Instead of linking RSS-Item to the original URL, the script will link to an internal page generated by the script, with the RSS-Item information (title and description) and a "read more" link, that now has the original rss-item link.