Migration tool to migrate from a RSS/Atom Feed to Hugo static site generator.
- Python 3+ (not tested with Python 2)
- Feedparser
- Slugify
pip install -r requirements.txt
Run :
python feed2hugo.py -f <url_or_path_to_feed> -t <hugo_root_path> [-c post]
Specify value for -c
only if your content type is not post
.
Examples:
python feed2hugo.py -f http://www.domain.com/blog/feed -t /home/user/path/to/hugo
or:
python feed2hugo.py -f http://www.domain.com/blog/feed -t /home/user/path/to/hugo -c blogpost
- Convert html markup to markdown ?
- Check if RSS feeds are managed too ; implement it if necessary