Girish Sonawane writes:
> Is there any way to specify in home.html that I want to sync a
> particular link only once or once daily or once a week?
>
> I am using spider.py for parsing and downloading the links... I
> know I can specify those settings for a channel in Plucker desktop
> but it will create a seperate file .pdb file. What I am looking
> for is in a single .pdb file some links are downloaded everytime I
> sync, some are downloaded only once, some are downloaded once a
> week and so on...
You can have ~/.plucker/html/daily.html and weekly.html,
and run plucker-build (Spider.py) against one or the other
of those files. Of course, weekly.html can include all the links
that are in news.html as well as the once-a-week links, if you
want everything in one .pdb file.
You can make aliases for your daily and weekly plucks,
or write a little script that checks the day and uses the
appropriate file. If you were using a script, you could also
make it do something like cat daily.html weekly.html >>full.html
so that you didn't have to maintain the daily links in two places.
...Akkana
_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list