Lurker News

Comments (150) 67 threads

Show all comments

Showing thread 50 of 67

state1 reply#
Would be nice to connect this to Twitter and get an update when a new one appears. Have you thought of doing that?
kragniz1 reply#
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
voltagex_1 reply#
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?
deathanatos#
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…)