View Single Post
Old 07-04-2007, 09:30 AM   #3
akfedux
Junior Member
akfedux began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2007
Device: NZ90
Quote:
Originally Posted by DTM View Post
The following appears to work. I say "appears" because I don't speak a word of Polish (other than paczki), and the special characters are not converted properly on my PDA. I'm not sure what you'll end up with!

You need three rewrite rules. Each is a Regular Expression, set to filter all links and rewrite them.

The first pattern is:
.*/news/(.*),1\.html

The second is:
.*/post/(.*),1\.html

And the third is:
.*di24\.pl/(.*),1\.html

Notice that each pattern begins with a dot character.

Each of the rules uses the same rewrite pattern:
http://di.com.pl/n/tools/drukuj.php?lp=$1

Let me know how that works!
It's working very well. Thanks.

Maybe you know how it looks that rules for script in java version of Sunrise?

Something like that ?

document.onanchorlink = function(link) {
link.referrer = link.uri;
var filename =
link.uri =

And last question, how to remove word "drukuj" on the top of web page from article?
"<p><font face="Verdana" size="2"><a href="javascriptrint();">drukuj</a></font></p>"


Ps. Yeah, polish paczki is very tasty :-)
akfedux is offline