Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

w10feed

RSS 2.0 generator for HamsterCMS sites and Web1.0 Hosting sites

The website's file system must be accessible via FTP. No additional packages need to be installed. The program uses built-in or custom-written modules.

Feachers

  • Custom title, language, max items, filename
  • Description for feed is takes from /humans.txt. Like in w10.host's "Last edited | Most visited | Most liked" list
  • The intermediate generation file remains in the program's startup directory, allowing for on-site verification.
  • You can configure different profiles. More details in the config.py.
  • The following tape options are available:

Ocular Webring like feed

I did this primarily for myself, because I wanted to join the party of subversive.pics or Ocular Webring. It is generates a news feed with .jpg pictures based on your site's /photos directory.

Example:

python3 w1f.py gen --type pics --url "https://zaraz7.narod.ws" --host ftp.narod.ws --title "Галерея Zaraz7" -o img.xml --lang ru-RU --maxitems 50 --user zaraz7

Blog

It can generate blog feed from .txt files of /blog directory. If you want publications without description (content of your .txt files), only link to your web site and title, you can use --no-description flag.

Example:

python3 w1f.py gen --type blog --url https://zaraz7.narod.ws --host ftp.narod.ws --title 'Блог Zaraz7' -o blog.xml --lang ru-RU -u zaraz7

Valid RSS v

TODO

  • Additional generators
    • For /blog
    • Simple log parse
    • Neocities like feed
  • Config for similar generations
  • Setup?
  • Service unit or cron script
  • localhost option

About

RSS Generator for w10.host and HamsterCMS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages