- Posts: 56
- Thank you received: 0
Converter
Converter.exe does a pretty god job but as we know it removes the emoticons in the original lish.txt file. It also removes all the BR tags so I have lost all the formatting. By formatting I mean the breaks in the text as can be seen in this message.
What I am left with is a small box symbol when viewed in Notepad. There
should be a BR tag after each of these symbols except for the last one in each message.
The symbol I am referring to is (I believe) the newline character. Unfortunately, Notepad cannot search for this character. I have manually edited a few messages to put the formatting back and it works. Now, if only I could knock up a quick PHP hack to do this
Norman
Please Log in or Create an account to join the conversation.
Norman wrote: Converter.exe does a pretty god job but as we know it removes the emoticons in the original lish.txt file.
We are actually working on a way to fix this problem to allow the script to upgrade the smilies.
Norman wrote: It also removes all the BR tags so I have lost all the formatting. By formatting I mean the breaks in the text as can be seen in this message. What I am left with is a small box symbol when viewed in Notepad. There should be a BR tag after each of these symbols except for the last one in each message.
That small box that you see is actually a carriage return aka "New Line" in the text. Its how notepad represents it (as a small box).
Norman wrote: Unfortunately, Notepad cannot search for this character. I have manually edited a few messages to put the formatting back and it works. Now, if only I could knock up a quick PHP hack to do this
Notepad is not the way to do this. It would be a lot easier to do this in PHP or using a small VB Macro in word or excel. Hold off on doing this for a few days. I will see if I can make a few quick corrections to the coverter.
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
I will hold off partly because you have suugested to do so and partly because I do not have the time right now I am sure that you knowledge of PHP is far, far greater than mine
Norman
Please Log in or Create an account to join the conversation.
This should take care of all the conversion issues. Enjoy!
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
I took my preserved list.txt as before together with the new converter.php and a list_converted.txt. Run the new converter.php via the web browser and it did it in a flash. Unfortunately, the list_converted.txt is considerably smaller and only contains about 30% of the original entries. I had between 14 and 15 pages at ten per page, now I have between 4 and 5 pages
If I get time tonight, I will see if I can established what messages are missing, i.e. random or a large chunk.
Thanks, Norman
Please Log in or Create an account to join the conversation.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.