-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to create a feed aggregation page #4
Conversation
Nice... Should we include Indieweb stuff in the documentation, or keep things simple? I can share my template just for reference. Some enhancements that I used:
---
Title: Planet Avium
Author: Various
Slug: planet
Status: published
---
> A [river of news](https://indieweb.org/planet) from a [selection of
> feeds](https://github.com/ashwinvis/ashwinvis.github.io/blob/develop/planet.opml)
> I follow. *Disclaimer: This is not an endorsement*.
<style>
#planet img{
max-width: 100%;
height: auto;
}
</style>
<div id="planet">
{% for article in articles %}
<article class="h-cite">
<header>
<h1>
<a href="{{ article.link }}" rel="bookmark" class="u-url"
title="{{ article.title}}" target="_blank">
<time class="m-date" datetime="{{ article.updated }}">
{{ article.updated.strftime("%b") }}
<span class="m-date-day">
{{ article.updated.strftime("%d") }}
</span>
{{ article.updated.strftime("%Y") }}
</time>
<div class="p-name">
{{ article.title or "💬" }}
</div>
</a>
</h1>
<div class="p-summary">
{{ article.summary }}
</div>
</header>
<footer>
<p>Posted by
<span class="p-author"><b>{{ article.author or "Anonymous" }}</b></span>
on <time datetime="{{ article.updated }}" class="dt-published"></time>
{{ article.updated.strftime("%a %d %b %Y")}}
in {{ article.feed_name }}.
</footer>
<div class="m-clearfix-l"></div>
</article>
{% endfor %}
</div> |
Thanks for sharing @ashwinvis ! Let's keep things simple. As you can see, the proposed examples are as simple as possible and I'm using the Besides that, using the Webring plugin to generate an aggregation page requires only a template file ( |
I understand. Can you extract |
Hey, I tried your how-to as is, but all I get is a blank page (ashwinvis/ashwinvis.github.io#23). I think I will revert to pelican-planet until I figure out how to use webring. Do you have a full example of a feed aggregation page somewhere? |
Hi @ashwinvis! Your website looks really nice 😉 I've taken a look at your code and it seems quite complex to me, maybe using the official repos instead of your own forked ones would be a first step... just my 2 cents 😉. But let's get into matter. After dealing with setting it up, I've figured out why it wasn't working: you're using I hope this helps! Thank you for trying this out! 👏 |
I haven't made any modifications to pelican / webring... yet and it is up to date with upstream
I will give it a try. |
After reviewing the plugin pelican-planet mentioned in issue #3 I've concluded that a similar feed aggregation page can be created using Webring without further modifications. Thus, I've decided to document how it could be done in the README.
Comments are more than welcomed!
@ashwinvis This was a first step in improving webring to match pelican-planet and your asyncio implementation.