rsslove / rss-to-email Goto Github PK
View Code? Open in Web Editor NEWGenerate HTML emails from your RSS feeds.
Generate HTML emails from your RSS feeds.
Add this to the web section
Currently custom RSS feed fields are not parsed or available to the template. We should have a way to expose these fields.
Currently feed items can be filtered by a publishedSince
field in the config object. I would like to make this filtering feature more dynamic so that users could include their own filtering functions and rules.
Currently templates are pretty hard-coded into the library. I'd like to allow users to bring their own template files, but this will mean doing some parsing and possibly using a better templating language (like handlebars).
The goal would be to give users a GUI interface for accessing the library. Unfortunately, we can't use MJML templates in the browser, so this web interface will need to access the library via a backend. The Webtask I have set up should work for low-load situations.
Currently some mjml styling happens inline and some is in the head of the template. It makes sense to put all of the styles in one place for our templates.
I'd love to be able to limit the number of entries that show up in the newsletter. I tried to do this by adapting the sample template on the web implementation, and hard coding the number of headlines in line 48:
{{#lt @Index 7 }} ... {{/lt}}
but what I'd like to do for my less technical fellow board members is to have it entered in a web form and then that gets sucked into the mjml file and that limits the number of headlines in the newsletter. I tried this using a new version of the website form you created by changing the Intro field into an input type=number and then changing the line above to
{{#lt @Index {{intro}} }}
or
{{#lt @Index {{[intro]}} }}
or (at Karl's suggestion)
{{#lt @Index intro }}
or
{{#lt @Index [intro] }}
but I just get an error and nothing displays or I get the rest of the template and no Entries at all.
I saw on GitHub that there's a Limit function, but I couldn't figure out how to get this to work with my limited skills.
Add config option for Max results per feed
Currently only supports one, but should be pretty easy to set up multiple feeds.
This might just work, but I'll want to run some tests before committing to the upgrade.
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.