SoggyOnion::Plugin::ImageScraper - get images from a page
layout: - title: Comic Strips name: comics.html items: - images: http://www.myfavoritestrip.com/ id: myfavoritestrip offset: 4 limit: 1
This is a plugin for SoggyOnion that grabs a series of <IMG> tags from a URI and adds them to the SoggyOnion output page.
images- the URI of the page to scrape the image(s) from
id- the item ID that appears in the HTML
offset- (optional) the index of the first image, default is 0 (first image)
limit- (optional) how many images to show past the
offset, default is 1
prefix- (optional) prefix the output URI of the image with this. By default, checks the
IMG SRC. If it's relative it prepends the
prefixif you set it or the URI specified with
Copyright (C) 2004 by Ian Langworth
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.