From geeklog-modules-admin at lists.geeklog.net Tue Jul 1 22:05:42 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Tue, 01 Jul 2003 19:05:42 -0700 Subject: [geeklog-modules] Email Submission of Stories Message-ID: <3F023DF6.4070204@wishon.org> Has anyone done, or thought about how to submit new stories via email? In particular I'm interested in being able to email picture shares from my Sprint camera phone and have a server side script parse the email, grab the image and text and create a story out of it. I looked at the Plugin docs and from the overview it doesn't look like that would be the best way to go. I could be wrong, if so someone please help me understand how to use the plugin mechanism to do this. For my purposes I'll only need simple verification of the emails, by the sender address and the format of the email itself. After that I want it to become the featured story. If I get excited and want to keep going I'll have the script add the photo to an album in my Gallery. I'd like to hear peoples thoughts about this idea, and anything people have already done that might relate, or help get me going. There might me things I can do along the way to make it easier for people to reuse. ~>Bill -- http://www.wishon.org From geeklog-modules-admin at lists.geeklog.net Tue Jul 1 22:06:42 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Tue, 1 Jul 2003 22:06:42 -0400 Subject: [geeklog-modules] Email Submission of Stories In-Reply-To: <3F023DF6.4070204@wishon.org> Message-ID: This would be a great plugin for me too. You could use procmail to watch your incoming mail and send mail fitting the right from/to/subject profile to a process which would then parse the mail into chunks of text. -----Original Message----- From: geeklog-modules-admin at lists.geeklog.net [mailto:geeklog-modules-admin at lists.geeklog.net] Sent: Tuesday, July 01, 2003 10:06 PM To: geeklog-modules at lists.geeklog.net Subject: [geeklog-modules] Email Submission of Stories Has anyone done, or thought about how to submit new stories via email? In particular I'm interested in being able to email picture shares from my Sprint camera phone and have a server side script parse the email, grab the image and text and create a story out of it. I looked at the Plugin docs and from the overview it doesn't look like that would be the best way to go. I could be wrong, if so someone please help me understand how to use the plugin mechanism to do this. For my purposes I'll only need simple verification of the emails, by the sender address and the format of the email itself. After that I want it to become the featured story. If I get excited and want to keep going I'll have the script add the photo to an album in my Gallery. I'd like to hear peoples thoughts about this idea, and anything people have already done that might relate, or help get me going. There might me things I can do along the way to make it easier for people to reuse. ~>Bill -- http://www.wishon.org _______________________________________________ geeklog-modules mailing list geeklog-modules at lists.geeklog.net http://lists.geeklog.net/listinfo/geeklog-modules From geeklog-modules-admin at lists.geeklog.net Wed Jul 2 03:23:43 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Wed, 2 Jul 2003 09:23:43 +0200 Subject: [geeklog-modules] Email Submission of Stories In-Reply-To: <3F023DF6.4070204@wishon.org> References: <3F023DF6.4070204@wishon.org> Message-ID: <20030702072343.12793@smtp.haun-online.de> Bill wrote: >Has anyone done, or thought about how to submit new stories via email? Tony developed something like this a while ago. See "Sendmail hack demonstratable" here: >In particular I'm interested in being able to email picture shares from >my Sprint camera phone and have a server side script parse the email, >grab the image and text and create a story out of it. Okay, images were not included in this hack, but that shouldn't be to hard to do. bye, Dirk -- http://www.haun-online.de/ http://www.macosx-faq.de/ From geeklog-modules-admin at lists.geeklog.net Tue Jul 15 16:11:44 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Tue, 15 Jul 2003 21:11:44 +0100 Subject: [geeklog-modules] Email Submission of Stories In-Reply-To: <20030702072343.12793@smtp.haun-online.de> References: <3F023DF6.4070204@wishon.org> <20030702072343.12793@smtp.haun-online.de> Message-ID: <200307152111.44226.wjohns@balita.org> On Wednesday 02 Jul 2003 8:23 am +8, Our site news.balita.ph uses 'email2gl' which we had custom written in Perl but it does need complete access to Sendmail as it requires an entry for each topic in the Sendmail alias file. It is not a plug-in as it was built to service a number of sites. It only accepts input from Admin basically or any user we nominate with such access. It does split the story consistantly, check for duplicates, truncates the title and if too long writes it as the first line on the article and logs each input. I currently use it on 6 sites, www.balita.org has pictures but I perfer to add these after posting the story so the application does not currently support pictures or graphics. Tony's is perhaps more suitable to users who don't have Sendmail access as it write items to the submission queue. Not sure if the author of our would allow it into the public domain as he said when I asked I just don't have time to answer problems of other users. As I say it was custom writen solely for Balita sites - it works for us and the way we want to use it - but may not for others. We have posted some 7000 plus articles through it without problem. Wayne geeklog-modules-admin at lists.geeklog.net wrote: > Bill wrote: > >Has anyone done, or thought about how to submit new stories via > > email? > > Tony developed something like this a while ago. See "Sendmail hack > demonstratable" here: > 82.html> > > >In particular I'm interested in being able to email picture shares > > from my Sprint camera phone and have a server side script parse the > > email, grab the image and text and create a story out of it. > > Okay, images were not included in this hack, but that shouldn't be to > hard to do. > > bye, Dirk