altered popfetcher so no posting delay...

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

altered popfetcher so no posting delay...

Post by Guest »

How would this be done so popfetcher immediately posts like Mail2s9y ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: altered popfetcher so no posting delay...

Post by garvinhicking »

Via crontab, calling the URL of the popfetcher external plugin. Like

Code: Select all

wget http://yourblog.com/serendipity/plugin_popfetcher
Look inside the popfetcher plugin config, you need to specify the hookname on your own for some security.

If you're a tough guy you could add an invisible iframe or img tag in your template calling that URL, and then visitors will execute fetching mails every time. Note that this will cause performance hurts, of course. One could build a plugin that only executes the popfetcher plugin ever 10th visit or so only...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply