Skip to content

Parser used for parsing Font icons file generated by http://fontastic.me/ website into android strings.xml file

License

Notifications You must be signed in to change notification settings

aman400/Fontastic-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fontastic Parser

Python script for generating strings.xml file from font icons file generated by Fontastic.me.

it will map all the alphabets with the icon names replacing "-" with "_".

Installing requirements:

Ignore if already installed.
    Install pip from https://pip.pypa.io/en/stable/installing/. 
        Or
    Install pip using easy_install:
        sudo easy_install pip

And the install requirements using:
    pip install -U -r requirements.txt

Running python script:

python parser.py {source_file}.html {destination_file}.xml prefix

Example:

After running following command in terminal:

    python parser.py example/icons-reference.html example/strings.xml ""
    
will gerenrate a example/string.xml file.

About

Parser used for parsing Font icons file generated by http://fontastic.me/ website into android strings.xml file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published