I use .htaccess like this
<Files google_base_feed.xml>
ForceType application/x-httpd-php5
</Files>
tell my server to run "google_base_feed.xml" as a php file, and generate the xml page.
1) I think
<Files google_base_feed.wml>
ForceType application/x-httpd-php5
</Files>
Will do the same, tell my server to run "google_base_feed.wml" as a php file, and generate the wml page.
Am I right?
2) How about url like the following
google_base_feed.xml?id=1
or
google_base_feed.wml?id=2
They will still run as php and generate the xml or wml pages. but
.xml?id=1 pr .wml?id=2,. are they legitimate xml or wml url? rss or mobile micro browser accept them?
3) how do you use php to generate xml and wml? specially in the case like query string parameter needed, like .xml?id=1, wml?id=2
Thanks!