📜 ⬆️ ⬇️

Export favorites Habra in FB2 - high-speed PHP-version

At one time I had already seen such a converter here on Habré, written in python, but he devoured many, many, many resources on my typewriter and never could my favorites (and that’s 400+ posts) save to the end, dropping something on incorrect file, then the "curve" article. It was necessary to rewrite, results of works under a cat.



Sample file (second version) . ~ 150 articles, size 22mb., 14 MB in compressed form. Pictures in the set, comments - no.

Update . Example fb2 file. 400+ articles, total size ~ 53mb., Pictures are compressed to 400 pixels, archive size is 33.8 mb. Above is the latest version of the file.
Update 2 . Short tags must be enabled for the script to work on the server. Not relevant for the new version of the script.
Update 3 . Screenshot of the script during execution:

Update 4 (02.27.2013) . Updated the script. Now tags are not thrown out. ( , ). ( config.php ). .
Update 5 (27.02.2013) . . , - , .
Update 6 (28.02.2013) . . ( XML). , FBreader , , - . .
Update 7 (28.02.2013) . . - , .

')

Source: https://habr.com/ru/post/170755/


All Articles