OK I am trying to find what would be the best format to use for the next purpose
I am trying to create a system where users can upload their document. which would then be shared on line in the form of html pages. I need to pick a single format in which they will upload their documents. I was thinking using XML, but different word processors seem to be creating different XML code any other format I could look into. also considering microsoft's DOCX.
The format must be such that people can save the documents in it in any word processor and I must be able to read it in in PHP
PDF format is adapted to preserve accomplished documents. There seems not to be the case...
RTF format presents the advantages : to be able to be read on a personal computer (including a Mac) without having Microsoft Word and to be build with PHP (It's easy with templates). It seems useful to propose drafts to finalize a document (for example to prepare a poster of classified ads from those published on a site).
Then the text format, like HTML files, seem the best response... But files with scripts ? with images ? An editor, like that used here, (which allow copy and paste) would maybe constitute the best solution ? Unless a form would be more adapted for register formatted data ?