I have just finished to write a php script to convert csv file to osm format. I wrote this script to import my own poi in osm database. input file has to be csv (coma separated values) e.g. -3.7005864,40.4891297,”text”,”text2”,”text3” or text without quotes. The osm file can be read with JOSM, to check the data before importing them in osm database. The source code will be available soon on my personal web page.
tested succesfully with Firefox and Safari. Not working with IE
http://poi-osm.ekibox.net/osm_format/
mirror
http://poi-osm.tucristal.es/osm_format/
http://poi-osm.blg.lt/osm_format/