Title: Email-to-Blog
1Email-to-Blog How It Works (part 2)
2This Is The Email-to-blog System Architecture
32. How the Blog User browses blogs
Blog User can use any web browser to view blog
contents. Thus, in this case user interacts with
blog server via HTTP. It should be noted that
URL completely defines how blog(s) is shown.
E.g. http//www.invisiblerevolution.net/ir_svr/pa
ge/blog.jsp?blog1date1056056633197msgfirst_o
nly which means that the messages of Blog1
will be shown starting from a concrete date (in
milliseconds since 1970/01/01 ), no message
selected, and messages will be shown completely
(i.e. not the first sentence only).
42. How the Blog User browses blogs
Here it is.
User requests the blog URL. Initially the URL
doesnt have any parameters.
BlogBean.getAllBlogs() performs a SQL
query SELECT FROM BLOGS and returns the
complete blog list to Blog Viewer.
Blog Viewer (web app) calls BlogBean.getAllBlogs(
) in order to show them in the left control frame
of web app.
Blog Viewer builds the control frame contents
using the blog list returned by BlogBean and
replies to user with initial blog view.
52. How the Blog User browses blogs
Now the user can select a particular blog or a
set of blogs (multiblog) to view. To do so, the
user should select blog items and clicks the
"reload" button. For example, the user has
selected "Comments" blog and clicked "reload".
The request will be processed as follows.
SELECT M.ID,M.TSTAMP,M.AUTHOR_ID,M.BLOG_ID,M.AUTHO
R_EMAIL,M.SUBJECT,M.BODY FROM MESSAGES M, BLOGS
B WHERE M.BLOG_IDB.ID AND B.ID3 ORDER BY TSTAMP
http//www.invisiblerevolution.net/ir_svr/action/b
log.jsp?blog3date1056056633197msgfirst_only
Blog Comments (BlogID3) date June messages
ALL
62. How the Blog User browses blogs
In the following example, the user has selected
two blogs "Comments" and "Blog Dev". The
request will be processed similarly to the
previous case. The only difference that two
"blog" parameters in HTTP request is defined.
SELECT M.ID,M.TSTAMP,M.AUTHOR_ID,M.BLOG_ID,M.AUTHO
R_EMAIL,M.SUBJECT,M.BODY FROM MESSAGES M, BLOGS
B WHERE M.BLOG_IDB.ID AND B.ID3 OR B.ID7
ORDER BY TSTAMP
http//www.invisiblerevolution.net/ir_svr/action/b
log.jsp?blog3blog7date1056056633197msgfirs
t_only
Blog Comments, Blog Dev (BlogID 3,
7) date June messages ALL