aspose file tools*
The moose likes General Computing and the fly likes Saving data like emails and blogs etc. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Saving data like emails and blogs etc." Watch "Saving data like emails and blogs etc." New topic
Author

Saving data like emails and blogs etc.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 413

Hi All,

I want to know sites like wordpress and blogger.com or even gmail. In which format they save data like emails, articles atc? As far as I know its in HTML format but how do they save it ? If in file system is there any particular format in which the data is getting saved which is easy to search and load?


Pawan Chopra
SCJP - DuMmIeS mInD
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40059
    
  28
I am not convinced you have asked your question in the most appropriate forum. I shall try moving you: not sure where, but it sounds like a possible "general computing" question.
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 413

Can any body help me on this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  70
  • Such sites generally use a CMS, which come in both file-based and DB-based variants. For the large sites you mention it'll most likely be DB-based.
  • They store what you enter - HTML if it's an HTML email or blog that supports HTML, plain text otherwise.
  • Searching will likely be done through a search index (implemented using something like Lucene). You need to filter out HTML markup and such, and that is impractical to do at search time.
  •  
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Saving data like emails and blogs etc.