View Full Version : Sunrise 0.3.1 released
Laurens 09-14-2004, 11:31 AM I just released Sunrise 0.3.1. You can now invoke "Send to Sunrise" from within Internet Explorer. I don't use IE as my main browser, but indirectly I use it through FeedDemon (http://www.feeddemon.com), which uses IE as an embedded control. I can now read news articles and immediately send them to Sunrise! :smiley2:
This version also adds support for basic authentication. This lets you access password-protected sites.
Change Log (http://home.planet.nl/%7Efridael/sunrise/changelog/changelog.html)
Quick Tour (http://home.planet.nl/~fridael/sunrise/tour/)
Download from PalmGear (http://www.palmgear.com/software/showsoftware.cfm?prodid=70927)
Francesco 09-14-2004, 03:50 PM Is Sunrise capable of trimming sites? Maybe in the "Advanced" tab of document properties?
If this is possible, I'm switching right now.
Laurens 09-14-2004, 04:14 PM Is Sunrise capable of trimming sites? Maybe in the "Advanced" tab of document properties?
Yes, it can, and it can do this very well. The functionality is completely undocumented, though.
Sunrise can use XSL transformation to strip away unnecessary clutter such as navigation bars and advertisements. A good example is the SDL for The Register (http://www.theregister.co.uk). It uses a stylesheet that extracts only the article headlines, leaving everything else out. Look in the "examples" subdirectory of the Sunrise installation and open the "the-register.sdl" in Sunrise Desktop.
It might take a while before I get round to documenting this. Development takes priority right now.
ignatz 09-14-2004, 04:24 PM Wow, so it can effectively function like Sitescooper? Pretty sweet. I'd like to have a look at that...
Laurens, I know that I'm jumping the gun a bit here, but what are the chances that your commercial product will also be available for Pocket PC? Am I just dreaming?
Laurens 09-14-2004, 04:38 PM I know that I'm jumping the gun a bit here, but what are the chances that your commercial product will also be available for Pocket PC? Am I just dreaming?
I hope to release a PPC version of my viewer at the end of the first quarter of next year. (In other words: around March 2005.) This date is of course tentative. Still, developing for PPC is a good deal easier than it is for Palm OS, so I don't expect any major obstacles there.
Further down the line, there might also be a version for SymbianOS. This depends on user demand.
ignatz 09-14-2004, 04:47 PM I hope to release a PPC version of my viewer at the end of the first quarter of next year.Great, thanks. That's exciting news.
Francesco 09-14-2004, 04:50 PM I had to remove some games, but it's done: plucker + sunrise up and running!
taylor 09-15-2004, 10:00 AM I think that the version at palmgear is mistakenly version 2.1. I downloaded what claimed to be sunrise_031a_setup.exe. After installing help says it version 0.2.1 and I get a consistent message when I uninstalled it. The file size is the same for sunrise_031a_setup.exe and sunrise0.2.1setup.exe (both 3147KB).
Thanks for all your efforts. I'm enjoying the improvements over JPluck!
Francesco 09-15-2004, 10:11 AM I downloaded Sunrise yesterday from PalmGear and had not any of those problems. The downloaded file is 3.23MB long.
BTW I'm reading tutorials on XML and XSLT, to see if I can trim my own sites.
Laurens 09-15-2004, 11:34 AM I think that the version at palmgear is mistakenly version 2.1. I downloaded what claimed to be sunrise_031a_setup.exe. After installing help says it version 0.2.1 and I get a consistent message when I uninstalled it. The file size is the same for sunrise_031a_setup.exe and sunrise0.2.1setup.exe (both 3147KB).
You're right. I've seen this problem on PalmGear before, but I tried out the download this morning and it was indeed 0.3.1a. Somehow it has reverted back to 0.2.1.
I've mirrored the 0.3.1.a distribution (http://home.planet.nl/~fridael/sunrise/sunrise-0.3.1a-setup.exe) on my ISP's homepage webspace. I'm going to open my own site soon.
Laurens 09-15-2004, 12:02 PM BTW I'm reading tutorials on XML and XSLT, to see if I can trim my own sites.
If you're interested, you can also look at the link rewriting feature available through scripting. This lets you change links on-the-fly so that they point to printable versions of articles. Scripting is much simpler than XSLT and it's also documented(open "Help Contents" from within Sunrise). There are several example SDLs in the distribution that use link rewriting, including NY Times and Brighthand.
taylor 09-15-2004, 12:13 PM I'd like to try out the new image conversion processing using imagemagik but I can't find settings to select it over the "standard" method. Are there any instructions associated with this feature?
Bob Russell 09-15-2004, 12:29 PM The more I read about Sunrise, the more I drool! I've been aching for some simple way to do something like link modification. Would love it if I could also use the current date in the new version of the link (e.g. use various components like day or dd or mm or mon or month or yyyy etc with either the numbers or common spelled out versions like Sep or sep or 09 or 9 or September etc.)
Can't wait to give it a go after I buy my new Palm. (Probably the T5 rumored to be in the product database for Staples already!)
Francesco 09-15-2004, 01:09 PM If you're interested, you can also look at the link rewriting feature available through scripting. This lets you change links on-the-fly so that they point to printable versions of articles. Scripting is much simpler than XSLT and it's also documented(open "Help Contents" from within Sunrise). There are several example SDLs in the distribution that use link rewriting, including NY Times and Brighthand.
Ok, I'm really excited now.
I need to combine two script instructions, append and replace. How do I do that?
I.e. I need to change links of this type:
http://www.xxxxx.com/aaa/bbb/ccc/
Into this:
http://www.xxxxx.com/ddd/print.asp?hand=6&page=../aaa/bbb/ccc/default.html
what about this:
document.onanchorlink = function(link) {
link.uri = link.uri.replace("http://www.xxxxx.com/aaa/bbb/ccc/", "http://www.xxxxx.com/ddd/print.asp?hand=6&page=../aaa/bbb/ccc/");
link.uri += "default.html";
};
I doesn't work, but maybe my fault is somewhere else.
Francesco 09-15-2004, 03:55 PM It works.
I have a different problem now. In preferences I specified the path to my cookies, but apparently, Sunrise is not using them. What might be the problem?
I use Firefox, btw.
Laurens 09-16-2004, 02:28 AM I'd like to try out the new image conversion processing using imagemagik but I can't find settings to select it over the "standard" method. Are there any instructions associated with this feature?
I've posted a short article (http://jpluck.sourceforge.net/news/archives/000147.html) about ImageMagick in the JPluck News section.
Laurens 09-16-2004, 02:39 AM It works.
I have a different problem now. In preferences I specified the path to my cookies, but apparently, Sunrise is not using them. What might be the problem?
I use Firefox, btw.
Well, actually I have no idea. :( You could try a tool like Proxomitron (http://www.proxomitron.info/) to monitor the HTTP headers. By configuring Sunrise to use Proxomitron as the proxy, you can view the cookies that it sends for each HTTP request. You can then compare it to the requests made by Firefox.
I'm using Firefox myself and cookies work fine for me, but I'm only using them with NY Times. I know that people are using Sunrise with subscription-based sites such as Wall Street Journal and Salon.
Sunrise 0.4 will have a dedicated cookie manager. You can let Sunrise collect the cookies from Mozilla only for the first conversion. After that, it updates the cookies independently from the browser. You can also edit cookies manually, similar to iSiloX.
taylor 09-16-2004, 07:09 AM I've posted a short article (http://jpluck.sourceforge.net/news/archives/000147.html) about ImageMagick in the JPluck News section.
Thanks... unless you are actively looking for people to test this, I think I'll just wait until it's more integrated within Sunrise.
Francesco, Sunrise seems to be recognizing my cookies (created with Firefox 0.9.3). Did you upgrade upgrade to Firefox 1.0pr? Perhaps it stores cookies slightly differently... just making wild guesses here.
Laurens 09-16-2004, 07:23 AM I just installed Firefox 1.0PR and cookies still seem to be working fine. I converted some articles from NY Times to verify.
mercedes 09-16-2004, 10:16 AM Laurens,
There is a JXL for the NYT text edition. Will there be an SDL for it? NYT does not do a very good job with their rss feeds. They are short and outdated.
Thanks.
gadgetguru 09-16-2004, 10:25 AM Okay, this is a bit off-topic. Will there be an update to the PluckThis extension for Mozilla 1.0PR? I know that it is not connected to Sunrise but PluckThis works great and it would be nice to see both Plucker and eventually Sunrise format versions...
Laurens 09-16-2004, 01:45 PM There is a JXL for the NYT text edition. Will there be an SDL for it? NYT does not do a very good job with their rss feeds. They are short and outdated.
As a special "exclusive" for MobileRead users I offer the New York Times text version SDL.
You can find it in the updated examples archive: sdl-examples-mr.zip (http://home.planet.nl/~fridael/sunrise/sdl-examples-mr.zip) (the link is not mentioned on my own site)
The SDL you need is "nytimes-text.sdl". It includes the majority of sections from the NYT text version (http://www.nytimes.com/ref/membercenter/textversion.html).
You must have an NYT login and cookies set up for this SDL to work. (Otherwise you get redirected to the login page.)
Technical note: this SDL uses an XSLT stylesheet that strips away all the navigational clutter and leaves only the article links on the page. It also rewrites the links so that they point to the printer-friendly versions.
Laurens 09-16-2004, 01:56 PM Okay, this is a bit off-topic. Will there be an update to the PluckThis extension for Mozilla 1.0PR? I know that it is not connected to Sunrise but PluckThis works great and it would be nice to see both Plucker and eventually Sunrise format versions...
I just installed PluckThis in Firefox 1.0PR and it works fine. There will be no more updates to JPluck or PluckThis, though - at least not from me.
ignatz 09-16-2004, 02:37 PM As a special "exclusive" for MobileRead users I offer the New York Times text version SDL.
That figures! Just as I leave Palm behind, there appears a clean solution to the perennial NYT problem. I'll be waiting for that Sunrise port to PPC, Laurens! Put me on your beta tester list...
mercedes 09-16-2004, 11:44 PM Wow! Thanks Laurens! Sunrise is turning out to be the best thing since sliced bread.
The SDL works fine. Sometimes I have to convert more than once to get a section to work because the NYT introduces an advertisement and it messes up the script. For example I tried to covert the National news section and all I got was a file that was less than 1 KB. I looked at the file in my Palm and it just said NYT Advertisement. It converted fine after the third attempt. Other sections converted fine the first time but some headlines would go to an advertisement while others would go to the story.
The advertisements are random so don't worry about it and just concentrate on developing your viewer.
Thank you for your work and contributions. Now I just need to learn XSLT so that I can covert other sites myself.
forum members:
I use mozilla firefox and Win XP. To find the cookies file to use with sunrise go to:
C:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles
within the profiles folder I had another folder and within that folder I found the cookies file.
|