Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Sunrize && Opera


mibe
07-15-2005, 08:04 AM
Sunrixe integration for the opera browser
http://opera.com

Selected text treated as a title for document

Add the following to your menu.ini
(see "A Tutorial on Customising a Menu in Opera" (http://nontroppo.org/wiki/EditingINIFiles)):

[Document Popup Menu]
...
Item, ">>Sunrise" = Execute program, "wscript","C:\PROGRAMS\bat\toSunrize.js %u %T"

and unpack attached file to
C:\PROGRAMS\bat\toSunrize.js


BTW can anybody document Sunrize web service interface?

Laurens
07-15-2005, 10:32 AM
Just installed Opera 8. I couldn't find a "menu.ini" file, so I just appended the lines to "standard-menu.ini" in the Opera installation directory. This seems to work.

It would be better if the script was adapted to run from within Opera itself, rather than have it launched as an external process. The problem with this script is that it cannot handle page selections and does not let the user edit the document title.

There's no documentation on the web interface. You should be able to deduce all the info you need from the script file.

mibe
07-15-2005, 10:52 AM
I have added link to the menu customization tutorial (search for "A Tutorial on Customising a Menu in Opera").

I can covert script to the bookmarklet or javascript: menu item, but it wouldn't work with "Reuse Page" switched off.

There is also an ability to add user script (http://userjs.org) modifiing page adding toolbar or button with required behaviour, but it will slow down page parsing.

I want to launch "New item wizard" beginning with step 3 via web interface - can i do it? In this case title be modified using Sunrize interface. I often also want to customize spidering level and encoding of source page -- sts does not allow it now.

Laurens
07-16-2005, 04:17 AM
I want to launch "New item wizard" beginning with step 3 via web interface - can i do it?

No, it's only possible to start a Quick Document conversion via the web interface.

mibe
08-22-2005, 04:12 AM
The problem with this script is that it cannot handle page selections and does not let the user edit the document title.
The second problem is resolved.

Just replace .js to wsf in the menu.ini

HGoof
09-13-2005, 10:58 AM
Thank you for writing this plugin, I really like opera and am glad to be able to use it with Sunrise to get reading material onto my palm. I previously used Plucker and am new to sunrise. Sunrise has some really nice improvements, though I don't yet understand all of the options for conversion settings. I'll try them out and see what effect they have on the output file.

Well, back to the plugin. I tried the plugin and used the instructions in this thread to get it working. When I first ran it, it asked for default setting for the location of where the file should be placed.

The plugin worked great the first time I attempted to use it (after setting the default location), since then it has not run. There is no file in the location I set as the default. Is there something else I need to do to get it to work? Should I delete the default setting and start over?

Thank you

mibe
02-27-2006, 03:13 PM
Item, ">>Sunrise" = Execute program, "wscript","C:\PROGRAMS\bat\toSunrize.wsf %u %T"