Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2004-04-18 00:11:57

V.
New Member
From: Las Vegas
Registered: 2004-04-15
Posts: 3
Website

Re: Posts Via Email

Oh, and yes. It is dreadfully important that the email destined to be a post be composed and delivered in plain text. RTF and HTML don’t seem to play well with xml-rpc, forming a bitter tag soup enroute.

The above statement is MT specific, as that has been my only experience with the script.

Dean – Does TXP use the metaweblog api? If so, there should be little trouble. The ‘mt’ object can be renamed ‘txp’ for cosmetic reasons.


“My next desire is, void of care and strife, To lead
a soft, secure, inglorious life.”
—John Dryden by way of Virgil, sans line breaks.

Offline

#17 2004-04-30 19:27:12

Zarabadoo
Member
From: Denver, CO
Registered: 2004-03-14
Posts: 28
Website

Re: Posts Via Email

sorry to bring this back from the dead, but in my search for how to make a moblog for myself (a blog based around pictures from a camera phone), i thought of this. technically they go hand in hand.

beings i am learning to be a PHP/MySQL amatuer, i needed refernce on how things were done. i was mainly looking around for places that had scarps of code available to show me how to check the e-mail and then parse it. my first find was EasyMoblog. I installed it to see how it functioned and weather it would be viable for a plugin. seemed to be a bit too bloated to be used as a plugin and figured it would be easier to try building from the ground up.

so i started looking through the code and found a couple premade include files in one of the directories. looking at them, i found they were originally from here and here. to me they seem like one really good start to making such a plugin possible.I am sure some of you would know better than me though.

also, has anyone considered using a cron job referencing a PHP file to pull the e-mail? that is how the previously mentioned program does it.

anyway, i am not sure if anyone is already plugging away at this, but if you think it would be simple enough for a newbie as myself to stumble through, i may give it a go.


—Al “Zarabadoo” Steffen
http://www.zarabadoo.com

Offline

#18 2004-04-30 21:16:24

jason
Member
From: USA
Registered: 2004-02-23
Posts: 85
Website

Re: Posts Via Email

dean’s plugging away at it.

easiest way to do it: .forward files allow you to pass emails to a script.

Offline

#19 2004-04-30 21:32:21

Zarabadoo
Member
From: Denver, CO
Registered: 2004-03-14
Posts: 28
Website

Re: Posts Via Email

good to know. very good to know.

will come in handy for september’s plans.


—Al “Zarabadoo” Steffen
http://www.zarabadoo.com

Offline

#20 2004-05-02 16:05:01

spyke
Member
From: Denmark
Registered: 2004-04-21
Posts: 14
Website

Re: Posts Via Email

This would be GREAT!

Personally, I can live without lots of bells and whistles on my site if I could get some sort of mobile blogging going on, either by email or whatever.

In a couple weeks I’ll be starting my new job as a taxi driver, working 60+ hours a week on the night shift from 6pm-6am, many of those hours will problably spent at the train station waiting for customers, and yup – I’ll be blogging with my PALM. Would be great to be able to do this via email, just for pure convenience reasons. =)

Offline

#21 2004-07-16 15:40:30

animoller
Member
Registered: 2004-04-19
Posts: 22

Re: Posts Via Email

Did anything happen with a plugin for moblogging? I have an MMS phone and I would love to be able to send pictures taken with my cellphone to an email address that posts through Textpattern.

Offline

#22 2004-09-28 18:18:27

noahsager
New Member
Registered: 2004-05-15
Posts: 4

Re: Posts Via Email

> animoller wrote:

> Did anything happen with a plugin for moblogging? I have an MMS phone and I would love to be able to send pictures taken with my cellphone to an email address that posts through Textpattern.

THE Ani Moller? Cool. I’ve been following your blog for years!

I also have been awaiting moblog abilities in Textpattern. My whole site redesign is kinda on hold until I know if I have to switch away from TP or not since I’m getting a T610 in the next couple days.

Last edited by noahsager (2004-09-28 18:19:39)

Offline

#23 2004-10-04 02:22:11

Baseline_Benny
Archived Plugin Author
From: Brisbane, Australia.
Registered: 2004-06-01
Posts: 15
Website

Re: Posts Via Email

I’d like to know if it’s possible as well. It would allow on the spot news to be instantly available to the site visitors….

Ben.


Life is what you make it… if nothing changes, nothing changes.
Web hosting http://dynamicwebhosting.com.au/
Web dev & marketing http://wallishamilton.com/

Offline

#24 2004-11-07 20:47:57

fncll
Member
From: Frozen North
Registered: 2004-02-25
Posts: 19
Website

Re: Posts Via Email

Any word on XML/RPC making it into TextPattern? It’s been in the can a long time :)


Dammit Jim, I’m a poet, not a programmer…
Joined the TXP Obsessed 2/25/04: http://www.chrislott.org/

Offline

#25 2004-11-07 21:08:43

Milkman
New Member
From: Strasbourg, France
Registered: 2004-10-26
Posts: 2
Website

Re: Posts Via Email

I just read this post and i’m actually using such a script to post from a mobile phone. It’s called Easymoblog: click here
You can see it in action on my moblog
This could be real fun for textpattern to implement.
Easymonlog uses a batch script that catches emails every x minutes on a pop account that you previously chose, uses gd to create thumbnails of pictures attachements and finally it posts the whole thing. So…check it out!

Last edited by Milkman (2004-11-07 21:10:52)

Offline

#26 2004-11-22 16:14:10

sidney
New Member
From: Amsterdam, Holland
Registered: 2004-11-22
Posts: 6
Website

Re: Posts Via Email

Oke, oke, shall i help a bit then?
You will have the exclusive, so be VERY honerd ;)

As always there are several ways to skin a cat and this is one:

====
i have deleated this post, because it contained errors an left the forum vulnrable to exploit and we doint want that.

Please download the zip file, it has the explaination.
Sorry for the inconvenience
====

You have to re-write thih ofcourse to fit the Textpattern engine, but i just outlined how it works now it is up to you to implement it!

Hope this helps you guys,

cheers,
Sidney

Last edited by sidney (2004-11-22 16:51:05)


Sidney de Koning / [url]www.justfunky.com[/url]

Offline

#27 2004-11-22 16:25:52

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: Posts Via Email

Gee, sidney, what a tag soup! Could you post it in an external txt file?

Offline

#28 2004-11-22 16:29:39

sidney
New Member
From: Amsterdam, Holland
Registered: 2004-11-22
Posts: 6
Website

Re: Posts Via Email

Oh really sorry about the HTML !!! I will put a file for download so u can use it all. Here it is: http://www.funky-monkey.nl/forum_textpattern.zip

If you see a rendered HTML page instead of HTML code it means that this forum is vulnrable for XSS (cross site scripting) please fix this!!!
(search google if you dont know what this is.) This is a dangerous exploit!!! You can fix this in PHP with:

$text_box_from_forum = stripslashes($_GET[input_box_on_forum]);
or
$text_box_from_forum = htmlspecialchars($_GET[input_box_on_forum]);
or
$string_for_database = htmlspecialchars($_GET[string_from_page]);

Hope this helped,

Peace,
Sidney

Last edited by sidney (2004-11-22 16:30:26)


Sidney de Koning / [url]www.justfunky.com[/url]

Offline

#29 2004-11-22 16:32:25

sidney
New Member
From: Amsterdam, Holland
Registered: 2004-11-22
Posts: 6
Website

Re: Posts Via Email

Oh sorry ChrisJ here it is again:

http://www.funky-monkey.nl/forum_textpattern.zip

Peace,

Sid


Sidney de Koning / [url]www.justfunky.com[/url]

Offline

Board footer

Powered by FluxBB