tl;dr New Vim scripts feed.
For a very long time, there is an issue with scripts : vim online feed, which lists every new versions of all scripts, instead of just new scripts. I only want to know about new scripts. As of writing this blog post, it has only 4,973 scripts, so the volume of new scripts is very low. However, since it lists by versions, it’s unnecessary for me to read all the updates. Needless to mention, most of them which aren’t so interesting to me.
I’d been searching for a solution since last month, thought about writing my own parsing code, but that’s just too much trouble. When I saw this from the feed:
— Delivered by Feed43 service
I realized even vim.org doesn’t actually provide the feed by itself. At the time, Feed43 was showing an service overload, I’d have to wait for a while and try again, which I did a couple of times, same error.
But about 30 minutes ago, I started to create a feed and I really like this Feed43 service, it’s even easier than Yahoo! Pipes if you need to scrap a HTML table to create a feed. It only took me about ten minutes to figure out how to use it, I have this pattern:
<tr>{_} <td class="row{*}"><a href="{%}">{%}</a></td>{_} <td class="row{*}">{%}</td>{_} <td class="row{*}" align="right">{*}</td>{_} <td class="row{*}" align="right">{*}</td>{_} <td class="row{*}" width="1000"><a href="{*}">{%}</a></td>{_} </tr>
I think the most important is to skip line breaks and/or white spaces {_}, or you will match nothing. It composes a feed like:
[Type] Script: Summary
If you want to get updated about new scripts, go grab the feed.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.