Hi, I'm a programmer working for a Japanese Software company, and I am currently in the process of adapting PHPmyFAQ to run on our system.
Anyways, we have about 15 people migrating old contents into PHPmyFAQ, and I was wondering whether it is possible to validate whether the tags they pasted are properly closed. For example, we have few pages that does not have the <CENTER> tags closed, resulting in rest of the article text misaligned.
Are there any convinient way to detect whether there are any unclosed tags using PHP?
Ich kann leider kein Deutsch schreiben, aber ich kann Deutsch gut verstehen. So, feel free to answer in German if neccessary.
Thanks.
How to validate whether an artikel has tags properly closed.
Moderator: Thorsten
Hi,
there's a Tidy extension for PHP in PECL. You can find the extension on http://pecl.php.net/package/tidy. With this you can write a small script and test all migrated contents.
Really interesting that you can understand German.
bye
Thorsten
there's a Tidy extension for PHP in PECL. You can find the extension on http://pecl.php.net/package/tidy. With this you can write a small script and test all migrated contents.
Really interesting that you can understand German.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Thank you for your reply :)
I started PHP just a few weeks ago, so I'll see what I can do with the Tidy package.
Regarding my German abilities, my mother is German and I was born in West Berlin. I lived in Germany for 8 years but I forgot most of the der-die-das after I moved on to the US, Hungary, and now Japan.
Anyways, thank you very much for writing PHPmyFAQ :)
It's been fun reading the source code and adding new features :)
I started PHP just a few weeks ago, so I'll see what I can do with the Tidy package.
Regarding my German abilities, my mother is German and I was born in West Berlin. I lived in Germany for 8 years but I forgot most of the der-die-das after I moved on to the US, Hungary, and now Japan.
Anyways, thank you very much for writing PHPmyFAQ :)
It's been fun reading the source code and adding new features :)
Hi,
bye
Thorsten
thanks for using it!MJ wrote:Anyways, thank you very much for writing PHPmyFAQ
if you like and your features would help others user feel free to send me some patches. I'll add almost everything I get from other users.MJ wrote:It's been fun reading the source code and adding new features
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
my site is online.
Hi, I just wanted to let you know that the site I was building is online.
http://www.netjapan.co.jp/e/faq
http://www.netjapan.co.jp/r/faq
It uses extensively modified PHPmyFAQ 1.4.11 on IIS 6.0 / MySQL-nt
- has permalinks for articles that is valid even when category is moved.
- has permalinks that reroutes to different category if the current one is deleted / disabled.
- article belongs to multiple categories
- article can show up in either /e/faq, /r/faq or both.
- images are stored in relative paths. Images show correctly even if administrative site is on different IP address and paths.
- internal links are stored as permalinks.
- automatic link validity checking when article stored (admin)
- automatic link validity checking when article list is shown (admin)
- lots of error handling.
If you are interested, I'll see whether I can get the code sorted out for the 1.6.0-dev tree.
http://www.netjapan.co.jp/e/faq
http://www.netjapan.co.jp/r/faq
It uses extensively modified PHPmyFAQ 1.4.11 on IIS 6.0 / MySQL-nt
- has permalinks for articles that is valid even when category is moved.
- has permalinks that reroutes to different category if the current one is deleted / disabled.
- article belongs to multiple categories
- article can show up in either /e/faq, /r/faq or both.
- images are stored in relative paths. Images show correctly even if administrative site is on different IP address and paths.
- internal links are stored as permalinks.
- automatic link validity checking when article stored (admin)
- automatic link validity checking when article list is shown (admin)
- lots of error handling.
If you are interested, I'll see whether I can get the code sorted out for the 1.6.0-dev tree.
Re: my site is online.
Hi,
bye
Thorsten
it would be great and I would add those stuff into the CVS if you send me the code. The feature that an article can belong to multiple categories is in 1.5.xMJ wrote:It uses extensively modified PHPmyFAQ 1.4.11 on IIS 6.0 / MySQL-nt
- has permalinks for articles that is valid even when category is moved.
- has permalinks that reroutes to different category if the current one is deleted / disabled.
- article belongs to multiple categories
- article can show up in either /e/faq, /r/faq or both.
- images are stored in relative paths. Images show correctly even if administrative site is on different IP address and paths.
- internal links are stored as permalinks.
- automatic link validity checking when article stored (admin)
- automatic link validity checking when article list is shown (admin)
- lots of error handling.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist