I am trying to get text formatted and then imported into an article directory.
What I am picturing is a UI where you are asked to upload a zip folder, then they files are extracted and the text files are imported into an directory called articles.
The filname of the text file will be carried over, except file-ending changes from txt to php. Php will handle this and also extract the zipped files.
Thought: If I had some sort of dynamic article listing, could I have php write the
new files into the article directory?
I also would like to format the text in the text files in advance. Then this is what I am picturing:
{title}Title Goes Here{/title}
{heading}Heading goes here{/heading}
{content}Content goes here{/content}
Should I format the code in plain html or should I try to do a xml way, and then have a defined xml file that tells howto format each placeholder?
Anyone knows if something like this allready excist? I have tried to google for it but I am not really sure what something like this would be called so kind of hard finding. So if people know this has been done allready feel free to submit a link.