All Projects → app-generator → html-parser

app-generator / html-parser

Licence: MIT license
Html Parser - Html to Pug, Jinja2, Blade Converter | AppSeed

Programming Languages

CSS
56736 projects
SCSS
7915 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to html-parser

emitty
A platform for finding dependencies between files and building tools for incremental compilation or build.
Stars: ✭ 69 (+72.5%)
Mutual labels:  pug
BotBlock.org
BotBlock - The List of Discord Bot Lists and Services
Stars: ✭ 29 (-27.5%)
Mutual labels:  pug
flutter-view
Create flutter view widgets using pug and sass
Stars: ✭ 128 (+220%)
Mutual labels:  pug
bit-css
用原子类赋予元素属性,减少甚至不写css
Stars: ✭ 19 (-52.5%)
Mutual labels:  pug
htmlparser
delphi html parser(代码是改自原wr960204的HtmlParser)
Stars: ✭ 65 (+62.5%)
Mutual labels:  html-parser
Fee-movie2.0
整合了几个常用的电影网站,获取资源更方便,更新中
Stars: ✭ 33 (-17.5%)
Mutual labels:  pug
mpa-frontend-template
🔥 Template based on webpack, pug, stylus, es6, postcss for multi page applications
Stars: ✭ 27 (-32.5%)
Mutual labels:  pug
webpack-starter-pug-sass-es6-jquery
Webpack 5 starter that supports Pug, SASS, ES6 ES7 ES8 ES9 ES10 ES11 ES12, VanillaJS/jQuery... (without framework) and generate URLs without the .html extension.
Stars: ✭ 102 (+155%)
Mutual labels:  pug
material-dashboard-django
Material Dashboard - Django Template | Creative-Tim
Stars: ✭ 52 (+30%)
Mutual labels:  appseed
web-starter-kit-gulp
Starter kit for automated front-end web development using Gulp, NPM, Bower, Babel, Sass, and Pug.
Stars: ✭ 35 (-12.5%)
Mutual labels:  pug
static-site
Static Sites - Open-Source and Paid | AppSeed App Generator
Stars: ✭ 17 (-57.5%)
Mutual labels:  appseed
pug-symfony
Pug (Jade) template engine for Symfony
Stars: ✭ 40 (+0%)
Mutual labels:  pug
Octave.gg
Web front-end for Octave.
Stars: ✭ 19 (-52.5%)
Mutual labels:  pug
django-soft-ui-dashboard
Soft UI Dashboard - Open-source Django Dashboard | AppSeed
Stars: ✭ 133 (+232.5%)
Mutual labels:  appseed
django-material-kit
Django Boilerplate - Material Kit Design | AppSeed
Stars: ✭ 36 (-10%)
Mutual labels:  appseed
raven
Raven: a theme-able blog workflow with gulp, pug, sass, and markdown. Check out the demo here:
Stars: ✭ 16 (-60%)
Mutual labels:  pug
FirefoxCSS-Store.github.io
A collection site of Firefox userchrome themes, mostly from FirefoxCSS Reddit community.
Stars: ✭ 350 (+775%)
Mutual labels:  pug
HtmlMonkey
Lightweight HTML/XML parser written in C#.
Stars: ✭ 37 (-7.5%)
Mutual labels:  html-parser
gulp-pug-inheritance
Only build affected files when modify a Pug file.
Stars: ✭ 16 (-60%)
Mutual labels:  pug
giada-www
Official website of Giada Loop Machine. Powered by NodeJS, SASS, Pug and other beautiful JavaScript machineries.
Stars: ✭ 13 (-67.5%)
Mutual labels:  pug

HTML parser

Interactive tool to convert flat HTML (themes or stand-alone files) to Pug, Jinja2 and Blade templates.


What is an HTML Parser

According to Wikipedia, Parsing or syntactic analysis is the process of analyzing a string of symbols, either in natural language or in computer languages, according to the rules of a formal grammar. The meaning of HTML parsing applied here consist into load the HTML, extract and process the relevant information like head title, page assets, main sections and later on, save the processed file.


Tool Features

The goal of this tool is to automate the UI integration into existing apps, written in different technologies and frameworks. Starting from flat HTML, the tool can be used by anyone to extract components, edit attributes and traverse the HTML tree using an interactive console.


Use-cases

  • normalize the HTML file to load the assets from a standard directories ( /assets/ [ img, js, css ] ) making the integration in webpack related tools much easier
  • edit / traverse the HTML tree
  • edit attributes like anchor href's, span texts, remove elements, edit class names
  • extract components for production use for various engines like PUG, Jinja2, Blade
  • migrate legacy Bootstrap layouts to Bulma and Tailwind CSS frameworks

HTML Parser Work-flow

Load the HTML theme / page

HTML Parser - Load the HTML theme.

HTML Parser - Select the HTML page.


Select Components

HTML Parser - Select components.


Edit Elements

HTML Parser - Edit elements.

HTML Parser - Edit elements.


Real life sample

The sample, extracted from Stellar HTML5Up theme is a simple navigation bar, extracted from this file

Pug version

nav#nav
  ul
    li
      a.active.newclass(href='https://appseed.us/html-parser').
        
        Introduction
        
    li
      a(href='#first').
        
        First Section
        
    li
      a(href='#second').
        
        Second Section
        
    li
      a(href='#cta').
        
        Get Started

PHP version

<nav id="nav">
 <ul>
  <li>
   <a class="active newclass" href="https://appseed.us/html-parser">
    <?php echo $var_1?>
   </a>
  </li>
  <li>
   <a href="#first">
    <?php echo $var_2?>
   </a>
  </li>
  <li>
   <a href="#second">
    <?php echo $var_3?>
   </a>
  </li>
  <li>
   <a href="#cta">
    <?php echo $var_4?>
   </a>
  </li>
 </ul>
</nav>

Projects built with this tool

All are open-source, with live DEMO.


License & Usage

The tool is not open-source. For licenses, please contact AppSeed - support [ @ ] appseed.us



HTML parser tool provided by AppSeed

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].