PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Feedback & News (http://www.phpdig.net/forum/forumdisplay.php?f=25)
-   -   RSS/XML Search Feeds (http://www.phpdig.net/forum/showthread.php?t=817)

Charter 04-12-2004 07:53 PM

RSS/XML Search Feeds
 
Hi. Do a search using the online demo and then click the 'View RSS for this Page' link near the bottom of the search results page.

What do you think? Give me some feedback! Thanks. :D

renehaentjens 04-12-2004 10:36 PM

Looks great.

Tiny bug? I saw an untranslated ampersand in:
<description>...o-8859-7 and <span class="phpdigHighlight">windows</span>-1251 added thanks to all those for helping . Characters '._~@#$:&%/;,=- now allowed in indexing and searches. CSS modified in all...</description>

MedaVian 04-13-2004 04:19 AM

Just what I was looking for ..

Is there a way to get this to be the default page after the search ?

ie: instead of the html results pages ?

Would fit with a small project I am playing with ..

regards,
Darrin

Charter 04-13-2004 06:08 PM

Hi. Yeah, the translation was using ASCII values but now it uses HTML entities instead:
PHP Code:

function xmlentities($string$quote_style=ENT_COMPAT) {
    
$trans get_html_translation_table(HTML_ENTITIES$quote_style);
    
$encoded str_replace("&amp;","&amp;amp;",strtr($string$trans));
    return 
$encoded;


To make the feed as default page, I suppose a header redirect could be done once the file is created.


All times are GMT -8. The time now is 11:49 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.