Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would be nice to connect this to Twitter and get an update when a new one appears. Have you thought of doing that?


That's what newsfeeds are for. You can get an atom feed of the latest commits to any repo via github:

    https://github.com/jbranchaud/til/commits/master.atom


Thanks for that. The HTML encoding is... interesting there - < is there, but > isn't replaced by >. How on earth is a feed reader meant to parse that?


In XML, you don't need to escape >, IIRC. So, it would seem some programmer is either lazy here, or trying to save bytes. You MUST escape <, as otherwise it looks like the start of a tag. Note that the content of the tag you see that in is serialized HTML, too, so at that point, there's HTML in the XML. (and not very good HTML…)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: