Comments (2)
It shouldn't be particularly complicated, and this would probably be a good way to get your feet wet with Yesod. Firstly, I would add a String record to the Entry datatype called channel, alter the entry parsing code, and just let things flow from there. Ultimately, you'll probably want to provide different atom feeds based on channel, which would probably involve resource patterns like:
/feed/$channel
And coding that would basically involve copying the current feed code and adding a "filter (channel equals
desiredChannel)" at the appropriate point. If you want to try it, fork bloggy, and feel free to ask me any questions.
By the way, bloggy is not the most well-written Yesod app I've done. Tweedle probably is the closest to "Yesod best practices," although it's really too early in the game to have such a thing.
from bloggy.
It shouldn't be particularly complicated, and this would probably be a good way to get > your feet wet with Yesod.
He, he...Too bad that I need to continue working with Django stuff to push that site out of the door first...
If you want to try it, fork bloggy, and feel free to ask me any questions.
I'll take a look at the bloggy code, just fo finish the present work.
By the way, bloggy is not the most well-written Yesod app I've done.
Tweedle probably is the closest to "Yesod best practices," although it's really
too early in the game to have such a thing.
Heh, by stabilizing WAI and making Yesod more feature-complete, we'll get 'best practices' as well.
Keep up the good work!
Sincerely,
Gour
from bloggy.
Related Issues (3)
- remote posting HOT 1
- release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloggy.