Skip to content

Instantly share code, notes, and snippets.

View thisisrootbug's full-sized avatar
🔻
سليم القلب لا احمل للناس سوى الحب

Hasabalrasool Yaseen thisisrootbug

🔻
سليم القلب لا احمل للناس سوى الحب
  • Source Business Solutions
  • Dubai
  • X @r00tbug
View GitHub Profile
@lovasoa
lovasoa / README.md
Last active June 30, 2021 16:23
ODT to HTML conversion

#Ophir.php

Important note

This code is not up to date. It is now hosted at https://github.com/lovasoa/ophir.php

PHP script that converts ODT to HTML

ophir.php is a lightweight script that parses an open document file and outputs a simple HTML file, with very few tags (contrarily to most other tools that do the same).

Features

Currently, the script parses bold (b tag), italic (i tag), underline (u tag), quotations (blockquote tag), images (using data URIs), links, headings (h1, h2, ...), lists (ul and li), tables (table tr and td) annotations and footnotes.