Monday, 31 October 2016

Webscraper from PeacockMedia - usage

[updated 23 Apr 2018 for version 4]
[reviewed 29 Aug 2021]

I've had one or two questions about using WebScraperThere's a short demo video here  but if, like me, you prefer to cast your eye over some text and images rather than sit through a video, then here you go:

1. Type your website address (or starting url for the scan). Like Integrity / Scrutiny (Webscraper uses the same engine) the crawl will be limited to any 'directory' implied in the url.

2. Configure your output. If it's a single piece of information you want to extract from each page, you can use the Simple Setup. If you want to set up a number of columns, use the Complex Setup. Toggle between these two options below the address bar.



You must configure your output file before scanning, and then the app crawls your site, collecting the data as it goes. This is more efficient than the way that the first version of Webscraper worked but it does mean that if you want to change the configuration of your output file, you'll need to re-scan.

If you choose 'Complex setup' you'll need to configure your output file here. When you add a  column you can choose  basic metadata (title, description etc), a class or id, a regular expression (regex) or content (as plain text, html, markdown or an outline).



3. Test or run. You'll be able to either begin the scan, or run a short test. The 'Run test' button will perform a very short scan of a few pages and present your output as a quickview. If all looks well, you can press Go, or if you need to make changes, you can head back to the Output file configuration.

4. When the scan is complete, the Results tab will open. You can export this using the export button above the table. It uses the options you set in the 'Output file format' tab. 

Note that the Save Project option from the File Menu will only save your setup, not the scan data.



A common scenario is that the data you want isn't defined by a unique class or id. In these cases a regular expression can be used, there's a detailed tutorial here.

Sunday, 30 October 2016

A sneak peek at some of the new features of Scrutiny v7

Scrutiny v7 is still very much in progress and being shaped, but here's a sneak preview, in case you'd like to feed back or make suggestions.

I demonstrate in the video:

 - document based (multiple windows open at once)
 - organise your websites into folders
 - simpler navigation
 - full autosave (view data for any site you've scanned previously)



[update] Version 7 is now well-established and has proved very popular. It's available here, and details about the very reasonable upgrade are also on the page.
http://peacockmedia.software/mac/scrutiny/

SaveSave

Friday, 28 October 2016

Affiliate scheme :: Scrutiny, Integrity and other PeacockMedia apps

My licensing and payment partner is Paddle. We have an affiliate system, with affiliates earning from the sales they generate.
It's simple; you register as an affiliate, you'll have access to some general links and you'll be notified of any special offers. You post that link on a review / blog / article and earn money when people click through and purchase.

You get 20% commission on the sale, and a monthly payout by Paypal or bank transfer.

If you'd like to jump on board then here's the registration form.

Once you have your account set up with Paddle, this is where you'll find your links.

Friday, 2 September 2016

Scrutiny v7 - closer!

The new version of Scrutiny for MacOS has now made it off the scraps of paper and as far as a working prototype (as far as the UI is concerned, which is where the major changes are).

The new features are:

  • Organise your sites into folders, with drag and drop to move them around (above)
  • Next and Previous buttons are gone; navigate by simply clicking what you want 
  • A new breadcrumb widget (top-left in the screenshots) allows you to navigate as well as giving a sense of location
  • The growing list of site-specific settings are organised into tabs. These had become so disorganised and ugly with at least two dialogs (advanced and schedules) accessed via buttons
  • Scrutiny becomes document based meaning as many windows open as you like showing different sites (just cmd-N or File-New to open a new window). Make multiple simultaneous scans
  • This also makes better handling of data, with windows remembering their state and their data (if autosave switched on)
  • Improved flow - From the summary / settings screen choose to make a new scan, view existing data (if available) or load data. Only after the scan do you choose which results you want to view. 


There will be few changes to the link checking, SEO check, sitemap and other functionality.

If you would like to have a click around this prototype and feed back, please just ask.
SaveSave

Saturday, 23 July 2016

Flic button support in LIFXstyle and Hue-topia

Although it seems slightly ironic to install smart bulbs and then buy a physical button to switch them on/off, a 'smart button' is something I've been searching for for some time.

A LIFXstyle user asked me about support for Flic buttons and they looked just like what I've been looking for. And they've lived up to the promise. There's nothing for scale in the picture below. The buttons are pretty small, around an inch in diameter. They have a small battery within, which is said to have a life of 5 years and then is replaceable. They come with a fabulous sticky back and can be stuck onto a surface, pulled off and stuck to something else apparently ad infinitum (the sticky surface is washable). There's an optional clip which can be fitted if you want to wear the button.

(Let me say right out that I've had to buy my buttons like everyone else, and I'm not earning any kind of commission).

I should also point out that Flic buttons can work Hue and LIFX bulbs without my software, but maybe you're like me and would rather not be connecting your buttons and your bulbs to cloud services.

They've turned out to be very easy to use and integrate into my apps. Support on a Mac involves running the Flic Service which is currently beta.

There's now a window within LIFXstyle and Hue-topia which allows you to add and configure your buttons.

The above window is called up using the menu item View > Flic Manager (cmd-4)
Note also the Menu item LIFXstyle > Connect to Flic Service / Disconnect from Flic Service. Connection should be made automatically, but you can try toggling this if you have problems.
If your button isn't in the list, use the 'Scan' button and press your Flic button. It should appear in the Flic Manager list if it's discoverable. (Your computer may also ask for permission to pair if you've not already paired that button with the computer.) Stop scanning and check the box to tell LIFXstyle/Hue-topia you want to connect to it.
For each button in the list, choose presets (or 'All on / All off') for each action (single, double-click, hold)
Edit your button's name. If you use the keywords white, black, green, blue or yellow in the name (eg 'My black button #1') then the 'ready' icon will appear in the right colour.

The Flic service requires MacOS 10.10 or higher. Without using the Flic functionality, LIFXstyle should run on 10.9 or higher, Hue-topia should run on 10.8 or above.


All of this is available in v2.0 beta of both LIFXstyle and Hue-topia. At present these aren't available for download on the site, but please contact me if you'd like to help test either.

SaveSave

Wednesday, 8 June 2016

Retro button style in OSX cocoa


While developing a 'breadcrumb' or NSPathControl type class, I created some buttons programmatically -  initially very quick and dirty;  [[NSButton alloc] initWithFrame] and not bothering to set anything.

This may be the first time I've ever done that because I wasn't prepared for what happened:
It takes me back to Amiga Workbench, and some interesting times that I had to use Windows at various day jobs.

It makes sense; I haven't set any button type or border style. But I would have thought I'd get the basic push button (the ones you get for OK and Cancel in alerts etc).

This isn't a complaint at all, I'm just bemused to see OSX drawing these retro-looking buttons.

[Update]  it's not looking bad...

Tuesday, 7 June 2016

Scrutiny v7

Scrutiny v7 is in the 'thinking' stage.



Current plans involve a more streamlined UI, organising sites into folders, a combined 'summary / tasks' screen following the site selection (which offers the 'settings' as a choice rather than being presented with them every time). Breadcrumb widget rather than the next / previous system.

If you're a v5 or v6 user with any thoughts on this, I'd love your input - please get in touch.