"erskine, michael" said:

> I've been playing with Sitescooper in conjunction with Plucker and have
> encountered a bug in Plucker which stops my Dilbert comic coming out nicely.
> 
> Is there a filter I can apply within the dilbert site file to achieve this?

Yes -- and it was included with the Dilbert site file, but it looks
like the site was updated and the code was lost!

This is the trick. It rewrites the HTML to remove that <a> link
around the image.

URL: http://www.dilbert.com/comics/dilbert/
  AuthorName: Kevin L. Dupree <kdupree /at/ flash.net>
  Name: Dilbert
  StoryStart: COMIC STRIP BEGIN
  StoryEnd: COMIC STRIP END
  StoryDiff: 1
  ImageOnlySite: 1
  ImageURL: http://www.dilbert.com/comics/dilbert/archive/images/.*
  ImageScaleToMaxWidth: 450
  UseTableSmarts: 0

  # add size info so sitescooper knows to make it into a
  # link for Plucker.
  StoryHTMLPreProcess: {
    s/ALT="Today.s Dilbert Comic"/
        ALT="Today.s Dilbert Comic" WIDTH=600 HEIGHT=211
    /gs;
  }

_______________________________________________
Sitescooper-talk mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/sitescooper-talk

Reply via email to