A Tumblr Theme parser in PHP.
Tired of getting sick of Tumblr's online HTML editor for custom themes? With Tumblr Parser you can edit a theme in your favourite HTML editor and render the output in your browser on your own/local server. So you can create themes for Tumblr without editing the HTML in Tumblr's online HTML editor.
composer.phar require "thefox/tumblr-parser=~0.5"
To get started first look into the example.php in the
example directory. There are several ways to use this tool. You can generate a whole weblog or just a single post. You can do this in your browser or in background in your shell.
See example in example directory.
Tumblr Custom Theme Implementation
Basic Variables [incomplete]
Text Posts [complete]
Photo Posts [incomplete]
Photoset Posts [incomplete]
Quote Posts [complete]
Link Posts [incomplete]
Chat Posts [complete]
Answer Posts [incomplete]
Like and Reblog buttons [incomplete]
Theme Options [incomplete]
- Enabling Booleans [complete]
- Enabling Custom Text [complete]
Copyright (C) 2014 Christian Mayer https://fox21.at
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.