---
title: 'Using Reading.am with Grav'
url: 'https://www.jeremycherfas.net/blog/using-reading-am-with-grav'
markdown: 'https://www.jeremycherfas.net/blog/using-reading-am-with-grav.md'
date: '2017-08-19'
description: "Just a quick follow up on Reading, coding and commenting. I used the twigfeeds plugin to bring in a feed of my links on Reading.am to the sidebar here. Chris Aldrich pointed out that when I use Reading.am as a way to read something again, it helpfully inserts because of Jeremy Cherfas at the end of the RSS entry. And if I can filter one piece of fluff out with a regex, I can do it for two. Here, then, is the code snippet for sidebar.html.twig with the final filter. Obviously, you would change it to suit your own needs. <div class=\"sidebar-content\"> <h4>Reading</h4> {% for name, feed in twig_feeds if name == 'Reading' %} {% for item in feed.items %} <p> <a href=\"{{ item.url }}\">{{ item.title | regex_replace(['/Jeremy Cherfas is reading /', '/ because of Jeremy Cherfas/'],['','']) }}</a> </p> <time>{{ item.date.date|nicetime(false) }}</time> {% endfor %} {% endfor %} </div> Maybe someone will find this useful."
taxonomy:
  category:
    - blog
  tag:
    - Geeky
---

# Using Reading.am with Grav

![](https://photos.jeremycherfas.net/flickr/pinholes/31764356_11cc4c90d8_k_hu_473a6124a99417cf.jpg)

A selection, taken on 120 film with Zero Image pinhole camera, then scanned.

---

## Navigation

- Parent: [Jeremy Cherfas: Posts](https://www.jeremycherfas.net/blog.md)
- Previous: [&#128214; Motherless Brooklyn &#x270d;](https://www.jeremycherfas.net/blog/who-is-bailey.md)
- Next: [Reading, coding and commenting](https://www.jeremycherfas.net/blog/reading-coding-and-commenting.md)
