Software Alternatives, Accelerators & Startups

Generate RSS feeds with grep(1), sed(1), and Awk(1)

FiveFilters Feed Creator
  1. Create feed from elements (e.g. links) extracted from a given web page

    #Website Monitoring #RSS Builder #Monitoring Tools 14 social mentions

  2. command line XML tool
    I strongly recommend adding a schema validator to anything that generates XML. ATOMยน has a nice schema availableยฒ that you can use at the end to check the whole thing (I use xmllintยณ, since it is in a lot of package repositories). Another nice thing about ATOM compared to RSS is that it has the xml:base attribute, which means you do not need to rewrite relative URLs into absolute ones. You can use recode'sโด XML-standalone/r0 charset to do the XML escaping correctly. And of course you should be using tidyโต to make sure the HTML is correct before putting it into the feed or publishing it on the web. It only takes about 6 lines of shell code using the mentioned tools to generate the ATOM feed for my blog.โถ ยน https://www.rfc-editor.org/rfc/rfc4287.txt ยฒ https://gist.github.com/tjdett/4617547 ยณ http://xmlsoft.org/xmllint.html โด https://github.com/rrthomas/recode/ โต https://www.html-tidy.org/ โถ https://oneofus.la/have-emacs-will-hack/files/current/Makefile.

    #Programming Language #Note Taking #OOP 2 social mentions

Discuss: Generate RSS feeds with grep(1), sed(1), and Awk(1)

Log in or Post with