The Un-Official Proxomitron Forum
RSS feeds... - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: RSS feeds... (/showthread.php?tid=714)



RSS feeds... - ProxRocks - Jan. 10, 2006 01:49 PM

Do RSS feeds have a specific $TYPE() associated with them that would enable me to 'cosmetically enhance' my RSS feed "descriptions"?


- JJoe - Jan. 10, 2006 05:22 PM

I think you'll need to use $FILTER(true) in a "Content-Type:" header filter to enable filtering of RSS.

Like:
Code:
[HTTP headers]
In = TRUE
Out = FALSE
Key = "Content-Type: Filter XML (in)"
Match = "(text/xml;*)\1$FILTER(true)"
Replace = "\1"

You may want to add a URL Match.

HTH


- ProxRocks - Jan. 10, 2006 05:54 PM

JJoe Wrote:slight modification:
Code:
[HTTP headers]
In = TRUE
Out = FALSE
Key = "Content-Type: 6 Filter XML (In) [add] {JJoe}"
Match = "(text/xml)\1$FILTER(true)"
Replace = "\1"
Looks like it's working - will need a [Pattern] filter to complete the ensemble...

I'll get to that this evening...

Thanks for the tip...


- JJoe - Jan. 10, 2006 06:55 PM

ProxRocks Wrote:slight modification
Sorry about that. The header I checked added a character set declaration. I forgot to remove a character.

Regarding the tag, {JJoe}, I promise you there is nothing new here. Wink

You are welcome
Have fun