Sedang Disiapkan

Simple modification of .php file for rss feed

I have an rss feed written in .php for my auction site. It provides a feed to show all newly listed auctions (Example: /[url removed, login to view]) and allows the feed to be restricted to new items by individual users (Example: /[url removed, login to view](userid)).

I would like the feed to keep it current function of being able to display all newest feeds as well feeds for individual sellers. However, an individual seller's feed is currently called by their userid number (Example: /[url removed, login to view])I want the file modified so that instead, the feed can be called by the seller's username (Example: /[url removed, login to view] )

It seems the variable for the username is already included in the rss script because the feed displays the seller's name in its output. I believe that that "userid" could just be replaced by "username" in some places? I have uploaded the actual .php rss file I am currently using.

Modified file should allow:

A feed of all new items by using "all"

A feed of new items by an individual seller by using "username"

Thank you for your bid

Kemahiran: PHP, XML

Lihat lagi: php owner, php function for, could of, restricted, modification to php script, simple function, output php, php simple xml, simple xml php, rss output, php output, feed php, php feed, xml display script, userid, feed file, display simple, number display simple, simple name php, rss xml, php simple auction, file uploaded, fotobo, written xml, auction site php script

Tentang Majikan:
( 18 ulasan ) Avon, United States

ID Projek: #376945