{"id":49551,"date":"2010-09-08T08:00:00","date_gmt":"2010-09-08T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/daring-fireball-linked-list\/"},"modified":"2011-06-19T23:22:00","modified_gmt":"2011-06-19T23:22:00","slug":"daring-fireball-linked-list","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/daring-fireball-linked-list\/","title":{"rendered":"Daring Fireball-style Linked List Plugin"},"content":{"rendered":"<p>This plugin makes your RSS feed behave like Daring Fireball\u2019s linked list posts, and has some extra features to make posting linked lists easier. Also supports Twitter Tools.<\/p>\n<p><em>Part One<\/em><\/p>\n<p>Makes your RSS feed for linked-list posts (indicated using a custom field) behave like <a href=\"http:\/\/daringfireball.net\" rel=\"nofollow ugc\">Daring Fireball<\/a>.<\/p>\n<p>To use, set the custom field \u201clinked_list_url\u201d to the desired location on a link post. In your RSS feed, the following will happen:<\/p>\n<p>(i) the item\u2019s RSS permalink becomes the link destination;<br \/>\n(ii) the actual permalink to your post is inserted as a star glyph at the end of your post; and<br \/>\n(iii) a star glyph is added in front of your non-linked-list post titles. Behaviour is customisable in options.<\/p>\n<p>All three parts are customizable, and you can use different glyphs or text if you\u2019d like. For theme designers, the plugin also provides functions (get_the_permalink_glyph(), the_permalink_glyph(), get_the_linked_list_link(), the_linked_list_link(), get_glyph() and is_linked_list()) to customise your design by checking if the item is a linked list item, getting a permalink with glyph, etc.<\/p>\n<p>Adapted from Jonathan Penn\u2019s <a href=\"http:\/\/github.com\/jonathanpenn\/wordpress-linked-list-plugin\" rel=\"nofollow ugc\">WordPress Linked List plugin<\/a>.<\/p>\n<p><em>Part Two<\/em><\/p>\n<p>Add link from post content. This feature allows you to set the custom field \u201clinked_list_url\u201d from within the post content. This is especially handy for using with the \u2018Press This\u2019 bookmarklet.<\/p>\n<p>When you activate this feature, the DFLL plugin will look at the first line of your post content for a link anchor, and it\u2019ll set that link as the linked_list_url for your post. For example, the following post content:<\/p>\n<blockquote>\n<p><a href=\u2019http:\/\/google.com\u2019>Google!!!<\/a>.<br \/>\n  This is a link post to Google.<\/p>\n<\/blockquote>\n<p>\u2026 will have its first line removed, the URL http:\/\/google.com passed into the custom field linked_list_url, and will have its first line removed to just end up with the text \u2018This is a link post to Google\u2019. The text in the anchor (\u2018Google!!!\u2019) will be ignored.<\/p>\n<p>It\u2019s very important to note three requirements: (i) the anchor tag must be in the first line of the post, (ii) the tag must be the only element on that line, and (iii) the line must end in a period. This is the syntax that the \u2018Press This\u2019 bookmarklet uses, so you can just hit \u2018Press This\u2019 and enter to go to the next line and stop typing.<\/p>\n<p>Any text in the anchor will be ignored, and the entire first line will be discarded. This also means that if, for whatever, reason, you like posting link anchors that end in periods as the first line of your blog, you shouldn\u2019t activate this checkbox, or you\u2019ll end up with linked list posts by accident!<\/p>\n<p>This was adapted from <a href=\"http:\/\/hypertext.net\/projects\/cfsetter\" rel=\"nofollow ugc\">CF Setter by Justin Blanton<\/a>.<\/p>\n<p><em>Twitter Tools support<\/em><\/p>\n<p>If you\u2019re using <a href=\"http:\/\/crowdfavorite.com\/wordpress\/plugins\/twitter-tools\/\" rel=\"nofollow ugc\">Twitter Tools<\/a>, you can customise your tweets to have your custom glyph or text appear before either your \u201cregular\u201d or linked-list posts.<\/p>\n<p>Questions or suggestions? Look me up on <a href=\"http:\/\/twitter.com\/yjsoon\" rel=\"nofollow ugc\">Twitter<\/a>.<\/p>\n<h3>Usage<\/h3>\n<ul>\n<li>When adding a link, create a normal blog post, but add a custom field \u201clinked_list_url\u201d with the desired link URL. The RSS feed item will automatically point to that URL.<\/li>\n<li>When posting, to insert a link without setting the custom field manually, put your URL wrapped in an anchor tag in the first line, ending with a period. For example: <a href=\u201dhttp:\/\/yjsoon.com\u201d>Doesn\u2019t matter what\u2019s in here<\/a>.<\/li>\n<\/ul>\n<h3>License<\/h3>\n<p>Copyright (c) 2010-2011 YJ Soon<\/p>\n<p>Permission is hereby granted, free of charge, to any person obtaining<br \/>\na copy of this software and associated documentation files (the<br \/>\n\u201cSoftware\u201d), to deal in the Software without restriction, including<br \/>\nwithout limitation the rights to use, copy, modify, merge, publish,<br \/>\ndistribute, sublicense, and\/or sell copies of the Software, and to<br \/>\npermit persons to whom the Software is furnished to do so, subject to<br \/>\nthe following conditions:<\/p>\n<p>The above copyright notice and this permission notice shall be<br \/>\nincluded in all copies or substantial portions of the Software.<\/p>\n<p>THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND,<br \/>\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF<br \/>\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND<br \/>\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE<br \/>\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION<br \/>\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION<br \/>\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin makes your RSS feed behave like Daring Fireball's linked list posts, and has some extra features to make posting linked lists easier.<\/p>\n","protected":false},"author":65,"featured_media":262133,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Daring Fireball-style Linked List Plugin - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"This plugin makes your RSS feed behave like Daring Fireball's linked list posts, and has some extra features to make posting linked lists easier."},"footnotes":""},"categories":[1],"tags":[16486,16487,237,468],"class_list":["post-49551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-linkblogs","tag-linked-list","tag-links","tag-rss"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/49551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=49551"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/49551\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/262133"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=49551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=49551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=49551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}