Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Need to make text file archive

by count0 (Friar)
on Dec 12, 2001 at 19:52 UTC ( [id://131267]=note: print w/replies, xml ) Need Help??


in reply to Need to make text file archive

What's the best way to save these articles that would make them easy to post in chronological order?

IMO, there are a few main options.
  • You can store them in an RDBMS, with a date field.
  • You could also keep a directory structure that reflects the dates (articles/2001/12/11.1.html, 11.2.html, etc - or whatever best suits you).
  • You could even keep a header in each article, in a predetermined format, that contains the date.
  • An XML DTD could be drawn up to contain the information for each article (including specifically the date).

These are just a few examples of ways to handle it... all of which are very well suited to be done in Perl. =)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://131267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found