Skip to content

Instantly share code, notes, and snippets.

@cho45
Created August 15, 2008 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cho45/5598 to your computer and use it in GitHub Desktop.
Save cho45/5598 to your computer and use it in GitHub Desktop.
選択したフィードの link と title をタブ区切りで
// http://reader.livedoor.com/share/
// 選択したフィードの link と title を OPML で
// Firebug で実行
var opml =
<opml version="1.0">
<head>
<title>from ldr share</title>
</head>
<body>
</body>
</opml>;
var r = Subs.filter(function (sub) {
return (sub.selected);
}).forEach(function (sub) {
opml.body.appendChild(<outline title={sub.title} text={sub.title} htmlUrl={sub.link} type="rss" xmlUrl={sub.feedlink} />);
});
copy(opml.toXMLString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment