POPFetch and marking categories by email

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
pharaoh
Regular
Posts: 8
Joined: Mon Oct 23, 2006 11:12 pm

POPFetch and marking categories by email

Post by pharaoh »

First off - I'm new to Serendipity, and I'd have to say that I'm very impressed! Installation was a snap, and the functions to add/remove plugins and templates are awesome. Kudos to the team and volunteers who've made this application. I'm hooked! :-)

Now, on to a a question/problem I've been having:

A few facts:

-The majority of my posts are going to be made by email.
-The content is going to be split between two (or more) different topics.
-I expect the majority of my readers to subscribe to the category-specific RSS feed(s) that interest them.

For example - Think of a blog about cats and dogs. I want to be able to make posts by email, and specify whether the post should be in the 'cat' or 'dog' category. Cat lovers will subscribe to the 'cat category' RSS feed, and likewise for dog lovers. So, I don't want to make a post about Dachshunds and have cat lovers see that post unless they're subscribed to the dog feed as well.

Unfortunately, POPFetch only allows emails to be posted to one specific category or to no category at all. Is there ANY way to specify a category within the email being sent so that it is posted in the category(s) of your choice? I would not expect an update to the POPFetch module just for my unique situation - so is anyone familiar enough with the setup where I could somehow customize my version of the script to allow this? I only expect to have a few categories (anywhere from 2-5), so if I needed to hard-code the category labels, I'd be fine with that.

I also have a question regarding static pages and inclusion of PHP within them, but I'll post that in a seperate post so I don't muddy the waters. :-)

Thanks in advance for any help or suggestions!
ihra
Regular
Posts: 26
Joined: Thu Sep 21, 2006 11:15 am

Post by ihra »

Perhaps you can make 5 instances of popfetch (copying to under different name, popfetch1, popfetch2 etc.). Install them and thus you can have 5 different directories / users?

Or isn't that speedball approach possible (easiest atleast :) )?
...ihra / ukki / Jussi Josefsson
pharaoh
Regular
Posts: 8
Joined: Mon Oct 23, 2006 11:12 pm

Post by pharaoh »

Well that's so simple I never even thought of it. :-)

I guess I didn't realize you could have multiple instances of POPFetch. That will definitely solve that problem!

Thanks very much!
pharaoh
Regular
Posts: 8
Joined: Mon Oct 23, 2006 11:12 pm

Post by pharaoh »

Slight snag with this - the Popfetcher plugin, from the installation menu anyway, only allows one install. It says "Already installed". I'll play around and see if I can somehow duplicate it, but I'm afraid I may break something. :-)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You can try to edit the serendipity_event_popfetcher.php file and look for "stackable" attribute. Set that from 'false' to 'true', which will allow multiple installs technically. However I've not yet tried that, so I cannot promise it will work the way you intended. But chances should be good.

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