What is the syntax of XML and HTML for the import of SMS?
-
the-coolest
- Beiträge: 2
- Registriert: Sa 12. Sep 2009, 12:00
What is the syntax of XML and HTML for the import of SMS?
Hi,
I would like to know how would the xml and html syntax would be so I would be able to import my messages in "MyPhoneExplorer"
I have this XML file syntax but the software won' accept it. it says "the file contains no messages"
Examlpe:
- <SMSExport>
- <store name="SMS">
<folder name="Deleted Items" />
<folder name="Drafts" />
- <folder name="Inbox">
<message date="12/04/2008 13:45:47" sender=""My Friend" <+00000000>" recipient="">This is my test sms</message>
</folder>
</store>
</SMSExport>
I would like to know how would the xml and html syntax would be so I would be able to import my messages in "MyPhoneExplorer"
I have this XML file syntax but the software won' accept it. it says "the file contains no messages"
Examlpe:
- <SMSExport>
- <store name="SMS">
<folder name="Deleted Items" />
<folder name="Drafts" />
- <folder name="Inbox">
<message date="12/04/2008 13:45:47" sender=""My Friend" <+00000000>" recipient="">This is my test sms</message>
</folder>
</store>
</SMSExport>
-
the-coolest
- Beiträge: 2
- Registriert: Sa 12. Sep 2009, 12:00
FJ, I can not prepare csv file that would be accepted by MyPhoneExplorer. I used version 1.7.4 on Linux.FJ hat geschrieben:The PDU-Format is a common GSM-Standard and its described on many pages in the www. But i think its easier for you to create a well-formed CSV-File cause you need no PDU-data if the rest is OK in the CSV-File.
Could you point me, why following CSV is not accepted by MyPhoneExplorer?
Code: Alles auswählen
"From";"To";"Body";"Time";"Storage";"PDU"
"ASD [+48505505505]";;"Test 1";"2008-10-13 18:38:53";"1";""
"ASD [+48505505505]";;"Test 2";"2008-11-22 17:28:28";"1";""I just tried the example and it works for me. Please note that you have to import messages first into the SMS-Archive.
You say Linux: As far as i know in Linux the new line is repesented with one Character (&H0A). In Windows its represented with two characters (&H0D + &H0A). Maybe this is the reason
You say Linux: As far as i know in Linux the new line is repesented with one Character (&H0A). In Windows its represented with two characters (&H0D + &H0A). Maybe this is the reason
in case you doesn't know, there are 3 type of EOL (End Of Line)
UNIX style, using Line Feed (LF, 0x0A)
MAC style, using Carriage Return (CR, 0x0D)
and WIN style, using both of them (CRLF)
you can save it to DOS format to be readable by MPE
and be careful not to include any whitespace in the end of line
i just do it when copying the example text above
it alerting "is a not compatible csv file"
by the way, i tyring to export some data, strip out PDU field, and import again
but, i was warned that "The selected file contains no messages!"
is it because i still using MPE version 1.7.1?
UNIX style, using Line Feed (LF, 0x0A)
MAC style, using Carriage Return (CR, 0x0D)
and WIN style, using both of them (CRLF)
you can save it to DOS format to be readable by MPE
and be careful not to include any whitespace in the end of line
i just do it when copying the example text above
it alerting "is a not compatible csv file"
by the way, i tyring to export some data, strip out PDU field, and import again
but, i was warned that "The selected file contains no messages!"
is it because i still using MPE version 1.7.1?
Sony Ericssons K320i
Connected using USB Cable
Connected using USB Cable
Actually Mac started to use just "\n" as newline character starting from version 10 of Mac OS I think.gabri.ns hat geschrieben:in case you doesn't know, there are 3 type of EOL (End Of Line)
UNIX style, using Line Feed (LF, 0x0A)
MAC style, using Carriage Return (CR, 0x0D)
and WIN style, using both of them (CRLF)