Post Reply 
RSS feeds...
Jan. 10, 2006, 01:49 PM
Post: #1
RSS feeds...
Do RSS feeds have a specific $TYPE() associated with them that would enable me to 'cosmetically enhance' my RSS feed "descriptions"?
Add Thank You Quote this message in a reply
Jan. 10, 2006, 05:22 PM
Post: #2
 
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
Add Thank You Quote this message in a reply
Jan. 10, 2006, 05:54 PM
Post: #3
 
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...
Add Thank You Quote this message in a reply
Jan. 10, 2006, 06:55 PM
Post: #4
 
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
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: