FJ Software Foren-Übersicht  
 Homepage   •  Suchen   •  FAQ   •  Mitgliederliste   •  Registrieren   •  Login
 What is the syntax of XML and HTML for the import of SMS? Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
the-coolest



Anmeldedatum: 12.09.2009
Beiträge: 2

BeitragVerfasst am: Sa Sep 12, 2009 13:08 Antworten mit ZitatNach oben

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>
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31906
Wohnort: Tirol

BeitragVerfasst am: Sa Sep 12, 2009 15:15 Antworten mit ZitatNach oben

MyPhoneExplorer alsways uses the PDU-data for import. The only exception is CSV-Files since v1.7.4
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
the-coolest



Anmeldedatum: 12.09.2009
Beiträge: 2

BeitragVerfasst am: Sa Sep 12, 2009 16:00 Antworten mit ZitatNach oben

FJ hat Folgendes 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,
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31906
Wohnort: Tirol

BeitragVerfasst am: Sa Sep 12, 2009 16:28 Antworten mit ZitatNach oben

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.
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Zajec



Anmeldedatum: 11.10.2009
Beiträge: 9
Wohnort: Poland

BeitragVerfasst am: So Okt 11, 2009 21:33 Antworten mit ZitatNach oben

FJ hat Folgendes 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:
"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";""
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31906
Wohnort: Tirol

BeitragVerfasst am: Mo Okt 12, 2009 07:24 Antworten mit ZitatNach oben

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
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
gabri.ns



Anmeldedatum: 10.10.2009
Beiträge: 10
Wohnort: Indonesia

BeitragVerfasst am: Mo Okt 12, 2009 11:22 Antworten mit ZitatNach oben

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? Confused

_________________
Sony Ericssons K320i
Connected using USB Cable
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31906
Wohnort: Tirol

BeitragVerfasst am: Mo Okt 12, 2009 19:01 Antworten mit ZitatNach oben

@gabri.ns: You need 1.7.4 for this
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
gabri.ns



Anmeldedatum: 10.10.2009
Beiträge: 10
Wohnort: Indonesia

BeitragVerfasst am: Di Okt 13, 2009 09:07 Antworten mit ZitatNach oben

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

_________________
Sony Ericssons K320i
Connected using USB Cable
Benutzer-Profile anzeigenPrivate Nachricht senden
Zajec



Anmeldedatum: 11.10.2009
Beiträge: 9
Wohnort: Poland

BeitragVerfasst am: Mi Okt 28, 2009 17:36 Antworten mit ZitatNach oben

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?).
Benutzer-Profile anzeigenPrivate Nachricht senden
Zajec



Anmeldedatum: 11.10.2009
Beiträge: 9
Wohnort: Poland

BeitragVerfasst am: Mi Okt 28, 2009 17:38 Antworten mit ZitatNach oben

gabri.ns hat Folgendes 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.
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31906
Wohnort: Tirol

BeitragVerfasst am: Mi Okt 28, 2009 21:04 Antworten mit ZitatNach oben

I see what i can do
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de