Seite 1 von 1
What is the syntax of XML and HTML for the import of SMS?
Verfasst: Sa 12. Sep 2009, 12:08
von the-coolest
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>
Verfasst: Sa 12. Sep 2009, 14:15
von FJ
MyPhoneExplorer alsways uses the PDU-data for import. The only exception is CSV-Files since v1.7.4
Verfasst: Sa 12. Sep 2009, 15:00
von the-coolest
FJ hat geschrieben:MyPhoneExplorer alsways uses the PDU-data for import. The only exception is CSV-Files since v1.7.4
could you explain how can I do it with the given example? I'm not familiar with the PDU Data. or if you can attach a sample which would better.
Thanks,
Verfasst: Sa 12. Sep 2009, 15:28
von FJ
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.
Verfasst: So 11. Okt 2009, 20:33
von Zajec
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.
FJ, I can not prepare csv file that would be accepted by MyPhoneExplorer. I used version 1.7.4 on Linux.
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";""
Verfasst: Mo 12. Okt 2009, 06:24
von FJ
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
Verfasst: Mo 12. Okt 2009, 10:22
von gabri.ns
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?

Verfasst: Mo 12. Okt 2009, 18:01
von FJ
@gabri.ns: You need 1.7.4 for this
Verfasst: Di 13. Okt 2009, 08:07
von gabri.ns
thanks for the confirmation FJ
i've already download thus version
i just kinda lazy to update it on my computer
but, i'll try it this night
Verfasst: Mi 28. Okt 2009, 16:36
von Zajec
That's right, that was my issue. MyPhoneExplorer doesn't manage to import from file containing \n instead of \r\n.
FJ: maybe you could modify this in some future release? I don't think many ppl may be hitting that but also fix should be really easy (1LOC?).
Verfasst: Mi 28. Okt 2009, 16:38
von Zajec
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)
Actually Mac started to use just "\n" as newline character starting from version 10 of Mac OS I think.
Verfasst: Mi 28. Okt 2009, 20:04
von FJ
I see what i can do