Log in

No account? Create an account
Emailing LJ Entries - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Emailing LJ Entries [Mar. 26th, 2002|11:12 am]
LiveJournal Client Discussions


Here's an idea for you. I'm really interested in developing this. I want to be able to email my live journal entries in. I have a cell phone that allows me to send emails, so there for i could add entries while on the road. I'm thinking of having a client run on a computer that basically recieves the email then posts it to LJ. However, I'm fairly new to programming windows sockets. I'm farily experience in C++ and VB, but is there anyone who might be willing to help me with this project?

From: andyroid
2002-03-26 08:30 am (UTC)
It would be easy if the email which receives your cell-phone emails is a POP account.
Let me know.
(Reply) (Thread)
[User Picture]From: xb95
2002-03-26 09:00 am (UTC)
I've actually started on this in a half-arsed sort of way. I was making a dummy POP3 box at my domain that would be checked every five or ten minutes and all e-mail received would be parsed and piped out to LiveJournal. Basically, the e-mails would have to be formatted like this:

user xb95
password blah
The text of the entry goes here, and continues, until another text line is encountered.
[music this is my music]
[mood this is my mood]
[journal journal_to_post_in]

Lines in []'s are optional, of course. Not sure if this is very useful to anybody, but... :)
(Reply) (Thread)
[User Picture]From: tydel
2002-03-26 09:01 am (UTC)
You shouldn't need to handle raw sockets, that's only really if you're making your own protocol. For existing protocols, there are libraries/modules to deal with the socket-level operations.

I pondered making almost the exact script in perl, running as a daemon on my linux box. Basically it just checked a POP account every 60-seconds (say, lj-entry@domain) and parsed the body of the message for username, password, subject, meta-data, and body of message and sent an email back with the status of the post.
(Reply) (Thread)
From: evan
2002-03-26 11:36 am (UTC)
You can do this with about 5 lines in procmail and 5 lines of changes to the Perl LJ client...

Though getting something on the LJ server would be a bit more complicated.
(Reply) (Parent) (Thread)
[User Picture]From: whitaker
2002-03-26 01:09 pm (UTC)
Yeah, I did this for my personal use on my web site... just for this purpose.


Pretty ghetto, but works just fine.
(Reply) (Parent) (Thread)