View Single Post
Old 09-28-2003, 10:49 AM   #17
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
I am working on implementing the custom NYT channels in the new WCC update. Look at this nice regex I figured out...

PHP Code:
(?=(?:(?!pagewanted=all|pagewanted=[\0-9]+|8br|8bl).)*$)(?<!REFURI=)http:\/[a-z.0-9\/]+\/magazine\/.*\.html 
Basically, it loads all from the page, plus the first page of the actual article plus the full printversion of the article... this is the best (me thinks) we can do right now with iSilo's limited filter capabilities.

edit: something wrong with the post parser here, keeps on thinking I want this friggin smilies... you will see the working regex when WCC 1.2.0 is out!
Alexander Turcic is offline