View Single Post
Old 08-23-2004, 06:56 AM   #1
geoffreynz
Member
geoffreynz began at the beginning.
 
Posts: 17
Karma: 44
Join Date: Jul 2004
Device: Palm m515
PrintableSub problem

Can anyone help me with this site file? I can't seem to work out how to write the StoryToPrintableSub line. It's driving me crazy!

This is an example of an ordinary URL: http://www.lefigaro.fr/magazine/20040820.MAG0015.html
And here is its printable version:
http://www.lefigaro.fr/cgi/edition/g...040820.MAG0015

I get the following error message (but the URL it doesn't like works!)

SITE WARNING: "lefigaromagazine.site" line 1: Printable version does not match S
toryURL pattern, reverting from http://www.lefigaro.fr/cgi/edition/g...040820.MAG0014 to http://www.lefigaro.fr/magazine/20040820.MAG0014.html

The site file in question:

URL: http://www.lefigaro.fr/magazine/
Name: Le Figaro Magazine
Description: Le Figaro Magazine
Levels: 2
ContentsStart: <!--sdvD=tete-->
ContentsEnd: <!--sdvF=centred07-->
StoryURL: http://www.lefigaro.fr/magazine/\d+.MAG\d+\.html
StoryToPrintableSub: s,(http://www.lefigaro.fr)/(magazine)/(\d+.MAG\d+)\.html,$1/cgi/edition/genimprime?cle=$3,
StoryStart: <A CLASS=TIT-TETE
StoryEnd: <!-- VENTRE : F -->

Thanks in advance for any help - I'd greatly appreciate it.

Geoffrey
geoffreynz is offline