I am trying to create rss mashup application with php like this one.Application work like this user give one or more rss feeds to merge into one rss feed.Then my web application perform and output one rss feed for user given feeds(no user sign up will needed for site).I will do this application but i dont know where to start is database needed or how i am gonna output one link for all rss,if you know any open source application or resource to read please inform it doesnt have to be php application by the way.
I'll suggest you to use a database, if you fetch the feed on demand every time a user visits "his" feed you will be blacklisted from the feed most of the times and you will have a huge load on the server.
Also, check out this links:
http://theos.in/technology/howto-combine-two-wordpress-rss-feed/
You would only need to use a database if you would want to manipulate the results beyond doing a merge.
One method to avoid using a database would be to just return the results in real-time, while you might get blacklisted as Tim suggested, at most usage levels this is unlikely.
Another option would be to store the combined feeds locally (on your server) and just check their file creation time, if it's over what you would consider "fresh" just recreate the local feed file from the source feeds.