View Single Post
Old 08-23-2004, 09:54 AM   #2
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.
Geoffrey,

try it with these pattern:

Code:
StoryToPrintableSub: s{http://www.lefigaro.fr/magazine/(\d+.MAG\d+)\.html}{http://www.lefigaro.fr/cgi/edition/genimprime\?cle=$1}i
 StoryURL: http://www.lefigaro.fr/cgi/edition/genimprime\?cle=\d+.MAG\d+
I haven't tested it, but I don't see why it shouldn't work. I just had a look at your code; StoryURL must match the print URL, not the original URL!

Greets
Alex
Alexander Turcic is offline