bios-marcel / stasi-blog Goto Github PK
View Code? Open in Web Editor NEWGenerating static simple blogs (Podcasts?!) with an RSS feed
Generating static simple blogs (Podcasts?!) with an RSS feed
I stumpled upon a stasi blog with 1 million entries and it loaded 1 million headlines instead of sth like 10 pages with just 100000 headlines. please limit the number of headlines per page to 100000 or 5 or sth in between. Le chaim.
Right now you can only specify publish dates in blog posts. It would be great to specify publish times as well.
Right now you can only specify one author for all blog posts, however if you want to use a repository with multiple people, then there is no way to assign blog posts to their respective authors.
One post could also be authored by multiple people, so it would be great to allow assigning multiple authors to one blog post.
All elements should follow accessibility standards:
Any necessary mobile considerations?
I couldn't find a go library capable of doing this. The best thing appears to be the one that w3c offers. However, this is sadly written in python and can't be properly integrated into a golang application I assume. I'd rather not want anyone to have to integrate this. Maybe I should write my own validator.
There seems to be a SOAP API for the w3c validator, however, an internet dependency would kind of suck.
Instead, use something that can parse everything in one go, in order to improve the code that reads the template. Currently, there is a lot of error handling.
This automatically generates a table·of contents based on header tags (<hN>
).
Currently all files manually added to the output subfolders files will be deleted. Files manually placed directly in the output folder will be preserved.
To solve this, we need an index file. For example, if stasi generates the following folder structure:
|--articles
|--article-1.html
|--favicon.ico
|--index.html
The generation index would look like this:
articles/article-1.html
index.html
favicon.ico
We'd then delete only the files, but not the folders and afterwards generate a new index.
The index should be deleted last, to avoid leaving behind garbage in case of failures.
Reproduce:
.html
Currently the feeds aren't iTunes compliant. It'd be nice to have that, as iTunes is one of the biggest podcast archives.
For this, we could probably use one of the following:
However, I gotta see whether that lib also works for non podcast rss feeds. If it doesn't we'll have to use both libs and add a
switch to the config:
"RSSMode": "none|podcast|blog"
Currently the following things aren't configurable:
meta
tagsWritten on
part for expressing datesFeed
in RSS-Feed
Home
in the nav-barTags
on the indexnoscript
output in articlesaudio
fallback messageSince Markdown is pretty much king in accessibility, stasi-blog should support building articles that are written in Markdown.
Setup CI for running builds and uploading releases on tagged commits.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.