Thread: XML feeds
View Single Post
Old 02-11-2004, 03:28 AM   #5
Rolandks
Purple Mole
 
Rolandks's Avatar
 
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
Hmm,
okay my plan:

- as Input we need the Searchstring (one or two words in Quotas " ") and all other parameter are from config.php

- Ouput: a temp-file named "field_ID.XML" with unique ID in folder \text_content which is auto delete at next session

XML-Formated Template:
PHP Code:
<phpdig:results>


<
phpdigpage_link/>
<
phpdig:text/>
etc.

 </
phpdig:results
OR if empty

PHP Code:
<phpdig:result_message/>
<
phpdig:ignore_message/>
<
phpdig:ignore_commess/> 
I think thats it and we have a feed like RSS: http://www.php.net/news.rss

-Roland-
Rolandks is offline   Reply With Quote