We were trying to use this module to display our field day log on our club website, but it doesn't seem to import the adif log generated by n3fjp log software.
I think I may have found the error though. The code in amateur_radio.inc is parsing for fields qso_date qso_time etc. and the n3fjp adif log seems to output the field names as Qso_Date and Qso_Time etc.
According to the ADIF standard, case should be insignificant.
Am I understanding that I have to modify the expressions to make it case agnostic or use substitutions in notepad to "fix" the adif file?
Also does the module understand non-American callsigns? I have our club call in there, but it doesn't seem to want to take a license class.
Thanks in advance
Paul, VA3PC
Comments
Comment #1
va3pc commentedHello again; I substituted the data names in the adif file so that they are all lower case, and the file will still not import.
I also created a sample file of 10 qso's and deleted all the carriage returns as well, still no joy.
I have now downloaded HRD (5.24 release), installed it, and imported the adif into it (317 entries) no issues, everything is there.
I then exported the log into adif format, and tried to import it into the module, still no joy.
Also as mentioned earlier, license class won't save in the setup screen, also should mention that the column checkmarks won't stay checked between sessions, even though the save button is used at the bottom of the page.
73
Paul
More progress.....
I added a line into amateur_radio.inc in the parse routine that outputs into the log file whenever a valid piece of data is decoded by the parse algorithm, and it seems to get all 12 pieces in each line.
It does not indicate (nor output) a valid decoded line though.
In trying to understand the php code, I notice that there seems to be a duplication of several lines starting at line 49. Was this intentional?
I'll keep plugging away..
Paul
Comment #2
cmcintosh commentedThis is still a valid issue I will be updating the code base today and submitting some patches that will allow manual importing of ADIF files, downloading the ADIF file from ARRL, as well as submitting an ADIF Arrl file to the ARRL site and generating a valid ADIF file.