Page Scraper

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Searches a web page for instances of a regular expression. Can be set to display either the expression found, custom 'found' and 'not found' messages, and/or custom 'found' and 'not found' images.

Can display an array of results from a single regular expression - can be used for example (see screenshot) to display a list of headlines.

Inspired by Chris Means's Yahoo widget, I tried to incorporate users' suggestions into this version. I didn't worry too much about making it look pretty if both image and text are turned on, as I don't really expect people to have both.

I included a file with a couple of examples in the tarball.

Any suggestions as to how the desklet may be improved are welcome.

To install, extract the tarball, and copy the contents of the Controls and Displays folders to ~/.gdesklets/Controls and ~/.gdesklets/Displays respectively, then restart gdesklets. I was having some problems getting it to recognise new controls - it's possible you may need to reboot, or restart gdesklets more than once, but I think in theory at least the above ought to do it.
Last changelog:

12 years ago

0.3 - added timer for autoupdate (can still be updated with double click). added prefix and suffix.
0.2 - included ability to display a list of results
0.1 - first release

bola

11 years ago

Hi,

your desklet seems to be quite useful but I can't get it running. When I start it, it'll just pop up an error message saying it can't find a driver for an interface (or something like that, the error msg is in finnish).

The row where the error occurs:
/home/XXXXXXXX/.gdesklets/Displays/PageScraper/pagescraper.display
> 1 ctrl = get_control('IPageScraper:d392lcsdaq8qgnrimsnh9fr5u-2')


Is there something wrong with my configuration?

Report

C

cumpstey

12 years ago

It's pretty frustrating that people feel the need to rate this (and other items) as 'bad' without leaving any explanation why. Please, if you think it is bad, leave a comment.

With some of the other desklets, like the fuzzy clock, I can understand that many people may not like them, or think that they are a waste of time and space - some things are just personal preference.

However, there is no denying that this is really a very useful desklet - with it you can extract virtually any information off the web, and display it in a whole host of different ways. It also works, at least on my machine, which is more than can be said for many of the desklets published on gdesklets.de.

So please, if you feel the need to rate it badly, tell me why. It doesn't take much effort, and it would make me a lot happier.

Report

C

cumpstey

12 years ago

I'm confused. Today the array desklet crashes when I try to change some of the options, notably the font and the first instance. Yesterday it crashed only on the font change, until I turned my computer off, took a load of cat hair out of the fan(!), and rebooted, after which it worked perfectly. It was at this point I uploaded it. I can't understand what's going on, as no code changed between last night and this morning. I'd appreciate people's feedback as to whether it crashes on their systems too, and if so under what circumstances.

Note that this problem is only with the desklet that includes the array. I've re-added the single-line desklet to the tarball, which seems entirely stable.

Thanks in advance for your help.

Report

12 years ago

0.3 - added timer for autoupdate (can still be updated with double click). added prefix and suffix.
0.2 - included ability to display a list of results
0.1 - first release

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3
updated Jun 29 2007
added Jun 19 2007
downloads 24h
0
page views 24h 1