Email2RSS intial spec Email Parsing


The email to RSS servlet would be aware of the following things in the email (though not necessarily all in the first version):

 

The following information will be extracted from the email and added to the post:

From the Header:

From, as some blogs will be communal, like the comment one for InRev.
The subject, which becomes the subject of the post OR will have commands, as in the date (yesterday:) which will add the post at the end of the last day, subject having "PS:" In front, with the date in pop-up, as usual. Another commend is the 'introtext:' command which takes the main body and uses it in the users intro page.
The date, which becomes the date.

From the Main text:

Double returns which become different objects, each addressable separately (anchors created and links to the anchors at the end of each paragraph.
Basic HTML formating <B> </B>, <I> </I> .
RTF formating.
URL's will become clickable when posted on the web site.
Link at the end of each paragraph which points to itself: ~

From the attachments:

Any attachments will be uploaded to an appropriate FTP server whcih will have a new folder created for the day of the upload in the format of 03april12 and will have links at the bottom of the post as per the attachments filename, minus and - or _ and will have the extension removed. The link will point to the file.

 

The following additional information will be added to each post:

Trackback and other future features.
For example:
<div class="blogbody">
<a name="002066"></a>
<br><br>
<h3 class="title"><b>04:23 AM EST | This is the title</b> </h3>
<p>This is the blog contents for this entry./p>