![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2128
Join Date: Dec 2002
|
SunriseXP Link Rewriting?
Sorry if I sound ignorant, but can someone explain how the SunriseXP link rewriting works (or where it is for that matter)?
For example the ESPN (from the regular Sunrise showcase) had a script: var idPattern = /id=\d+/ var storyPattern = /story\?.*id=\d+/ document.onanchorlink = function(link) { if (link.uri.match(storyPattern) != null) { var id = link.uri.match(idPattern)[0]; link.referrer = link.uri; link.uri = "http://sports.espn.go.com/espn/print?" + id + "&type=story"; } }; So how would a similar feed be created using XP? |
![]() |
![]() |
#2 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Wait for the documentation or look in the "scripts" subdirectory.
|
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2128
Join Date: Dec 2002
|
Ah, Ok. Seems easy enough. I was looking through the GUI, didn't think to check the actual install directory. Thanks again. Looking forward to start working with the new XP.
Now, how about an SDL to SXL converter? |
![]() |
![]() |
#4 | |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Quote:
|
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sunrise .42j or SunriseXP? | evwool | Reading and Management | 3 | 05-15-2009 09:35 AM |
SunriseXP for Geocaching | gr82no | Reading and Management | 0 | 12-03-2008 03:36 PM |
New Plucker/SunriseXP User | vger | Introduce Yourself | 0 | 10-09-2007 03:02 PM |
SunriseXP via wine on linux?? | zachofalltrades | Reading and Management | 3 | 09-19-2007 03:51 PM |