Thanks for the idea Zine. Yours caused errors, so I tried my more-basic version:
theone = GetToken(rssDoc, NextToken+1, "<>");
desc = ReReplacenocase(theone,"<[^>]*>","","ALL");
// add the title to the structure
StructInsert(RSS_Struct, "description", theone);
This didn't cause any errors, but neither did it work! Still ridden with HTML tags.
I'm thinking that because gettoken is using "<>" as its' delimiters, that might be
causing problems with my regex which is (i think) looking for anchors and trying to
remove them.
Bizarre...any other clever ideas?
Will
>This is code that I have used in multipart mail messages.. cleaning the HTML
>input. Sometimes it does really strange things with the formatting though.
>Replace 'STRINGVARIABLE' with your token from the RSS feed, and insert
>'sNoHTML' into the struct.
>
>-Zine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4