{"id":6401,"date":"2009-08-14T09:40:07","date_gmt":"2009-08-14T09:40:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/skydrive-directlink\/"},"modified":"2011-07-01T09:53:12","modified_gmt":"2011-07-01T09:53:12","slug":"skydrive-directlink","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/skydrive-directlink\/","author":3476259,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.7.0","stable_tag":"0.7.0","tested":"3.1.4","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Skydrive Directlink","header_author":"Flarefox","header_description":"","assets_banners_color":"","last_updated":"2011-07-01 09:53:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/skydrive-directlink\/","header_author_uri":"http:\/\/yunjie.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4739,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4.11","0.4.13","0.4.20","0.5.61","0.6.5","0.6.8","0.6.9","0.7.0","before_rayfile"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539413","resolution":"1","location":"plugin"}},"screenshots":{"1":"Option page"}},"plugin_section":[],"plugin_tags":[54723,537,18171],"plugin_category":[],"plugin_contributors":[96782],"plugin_business_model":[],"class_list":["post-6401","plugin","type-plugin","status-closed","hentry","plugin_tags-direct","plugin_tags-link","plugin_tags-skydrive","plugin_contributors-flarefox","plugin_committers-flarefox"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/skydrive-directlink.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/skydrive-directlink\/trunk\/screenshot-1.jpg?rev=1539413","caption":"Option page"}],"raw_content":"<!--section=description-->\n<p>(\u4e2d\u6587\u8bf4\u660e\u8bf7\u5f80\u4e0b\u7ffb\uff0c\u8f9b\u82e6\u4e86)<\/p>\n\n<p>Skydrive is an excellent net disk, but we have to open a skydrive web page to download a file. This plugin purposes to get the direct link of a skydrive file, so that it can be directly downloaded anywhere.<\/p>\n\n<p>Usage example:<\/p>\n\n<ol>\n<li><p>In a link: <code>&lt;a href=\"[skydrive:http:\/\/*****.skydrive.live.com\/...\/somefile.zip]\"&gt;somefile.zip&lt;\/a&gt;<\/code><\/p><\/li>\n<li><p>With Audio Player plugin: <code>[audio:[skydrive:http:\/\/*****.skydrive.live.com\/...\/somemusic.mp3]]<\/code><\/p><\/li>\n<li><p>After set a default skydrive url, for example <code>http:\/\/cid-955fceff19f67540.skydrive.live.com\/<\/code>, you can use <code>[skydrive:self.aspx\/.Public\/howdy.txt]<\/code> to simplify <code>[skydrive:http:\/\/cid-955fceff19f67540.skydrive.live.com\/self.aspx\/.Public\/howdy.txt]<\/code>.<\/p><\/li>\n<\/ol>\n\n<p>There are 3 cache modes:<\/p>\n\n<ol>\n<li><p>no cache. Slow but the most accurate.<\/p><\/li>\n<li><p>cache and validate. It keeps accuracy while spends less time.<\/p><\/li>\n<li><p>cache only. RECOMMENDED when automatically update is enabled.<\/p><\/li>\n<\/ol>\n\n<ul>\n<li>Cache is located in a database table like <code>wp_skydrive_directlink<\/code>. *<\/li>\n<\/ul>\n\n<p>Find more information in FAQ section.<\/p>\n\n<p>If you have any question or suggestion, please response here or mail to flarefox at 163 dot com. That will help me a lot, thank you!<\/p>\n\n<p>------------------\u4e2d\u6587\u8bf4\u660e--------------------<\/p>\n\n<p>Skydrive\u662f\u4e00\u4e2a\u4f18\u79c0\u7684\u7f51\u76d8\uff0c\u4f46\u662f\u5b83\u4e0d\u652f\u6301\u5916\u94fe\u3002\u672c\u63d2\u4ef6\u7684\u76ee\u7684\u5c31\u662f\u81ea\u52a8\u751f\u6210\u548c\u66f4\u65b0skydrive\u6587\u4ef6\u7684\u5916\u94fe\u3002<\/p>\n\n<p>\u4f7f\u7528\u793a\u4f8b\uff1a<\/p>\n\n<ol>\n<li><p>\u751f\u6210\u4e00\u4e2a\u94fe\u63a5\uff1a<code>&lt;a href=\"[skydrive:http:\/\/*****.skydrive.live.com\/...\/somefile.zip]\"&gt;somefile.zip&lt;\/a&gt;<\/code><\/p><\/li>\n<li><p>\u4f7f\u7528Audio Player\u63d2\u4ef6\u64ad\u653e\u97f3\u4e50\uff1a<code>[audio:[skydrive:http:\/\/*****.skydrive.live.com\/...\/somemusic.mp3]]<\/code><\/p><\/li>\n<li><p>\u5982\u679c\u63d2\u4ef6\u4e2d\u5df2\u8bbe\u7f6e\u9ed8\u8ba4skydrive\u94fe\u63a5\u4f8b\u5982<code>http:\/\/cid-955fceff19f67540.skydrive.live.com\/<\/code>\uff0c\u53ef\u4ee5\u7528<code>[skydrive:self.aspx\/.Public\/howdy.txt]<\/code>\u4f5c\u4e3a<code>[skydrive:http:\/\/cid-955fceff19f67540.skydrive.live.com\/self.aspx\/.Public\/howdy.txt]<\/code>\u7684\u7b80\u5316\u3002<\/p><\/li>\n<\/ol>\n\n<p>\u8bbe\u7f6e\u9875\u9762\u4e2d\u6709\u4e09\u79cd\u7f13\u5b58\u6a21\u5f0f\uff1a<\/p>\n\n<ol>\n<li><p>\u4e0d\u7f13\u5b58\u3002\u6700\u6162\u4f46\u662f\u6700\u51c6\u786e\u3002<\/p><\/li>\n<li><p>\u7f13\u5b58\u4e14\u9a8c\u8bc1\u3002\u4fdd\u6301\u51c6\u786e\u5ea6\u540c\u65f6\u82b1\u8d39\u66f4\u5c11\u65f6\u95f4\u3002<\/p><\/li>\n<li><p>\u4ec5\u7f13\u5b58\u3002\u5f53\u5916\u94fe\u81ea\u52a8\u66f4\u65b0\u529f\u80fd\u88ab\u542f\u7528\u65f6\uff0c\u63a8\u8350\u7528\u6b64\u6a21\u5f0f\uff0c\u975e\u5e38\u8282\u7701\u65f6\u95f4\u3002<\/p><\/li>\n<\/ol>\n\n<ul>\n<li>\u7f13\u5b58\u88ab\u5b58\u653e\u5728\u4e00\u4e2a\u5f62\u5982\u201cwp_skydrive_directlink\u201d\u7684\u6570\u636e\u5e93\u8868\u4e2d\u3002 *<\/li>\n<\/ul>\n\n<p>\u5230FAQ\u9875\u9762\u5bfb\u627e\u66f4\u591a\u7684\u8bf4\u660e\u4fe1\u606f\u3002<\/p>\n\n<p>\u5982\u679c\u60a8\u6709\u4efb\u4f55\u5efa\u8bae\uff0c\u8bf7\u53d1\u4fe1\u5230flarefox@163.com\u3002\u60a8\u7684\u5efa\u8bae\u5bf9\u6211\u5f88\u91cd\u8981\uff0c\u8c22\u8c22\uff01<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload <code>skydrive-directlink<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress<\/p><\/li>\n<li><p>Use [skydrive:skydrive file download page url] to get direct link.<\/p><\/li>\n<\/ol>\n\n<p>------------------\u4e2d\u6587\u8bf4\u660e--------------------<\/p>\n\n<ol>\n<li><p>\u4e0a\u4f20<code>skydrive-directlink<\/code>\u76ee\u5f55\u5230wordpress\u7684<code>\/wp-content\/plugins\/<\/code>\u76ee\u5f55<\/p><\/li>\n<li><p>\u5728wordpress\u540e\u53f0\u6fc0\u6d3b\u6b64\u63d2\u4ef6<\/p><\/li>\n<li><p>\u5728\u6587\u7ae0\u4e2d\u4f7f\u7528[skydrive:skydrive\u6587\u4ef6\u7684\u5b98\u65b9\u94fe\u63a5]\u4ee5\u83b7\u5f97\u6587\u4ef6\u5916\u94fe\u3002<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>\u4ec0\u4e48\u662f\u5916\u94fe?<\/dt>\n<dd><p>When click the link, you can download the file directly, instead of being lead to a download page.<\/p>\n\n<p>\u5f53\u70b9\u51fb\u94fe\u63a5\u65f6\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u8fd9\u4e2a\u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u6253\u5f00\u4e00\u4e2a\u4e0b\u8f7d\u9875\u9762\u3002\u8fd9\u6837\u7684\u94fe\u63a5\u53eb\u5916\u94fe\u3002<\/p><\/dd>\n<dt>\u8fd9\u4e2a\u63d2\u4ef6\u662f\u600e\u6837\u5de5\u4f5c\u7684?<\/dt>\n<dd><p>It analyzes skydrive download page and get the direct link when a post is load.<\/p>\n\n<p>\u5f53\u535a\u5ba2\u7684\u4e00\u7bc7\u6587\u7ae0\u88ab\u6253\u5f00\u65f6\uff0c\u6b64\u63d2\u4ef6\u5c06\u6587\u4e2d\u7684skydrive\u7684\u5b98\u65b9\u94fe\u63a5\u66ff\u6362\u4e3a\u5916\u94fe\u3002<\/p><\/dd>\n<dt>\u8fd9\u4e2a\u63d2\u4ef6\u4f1a\u8ba9\u6211\u7684\u7ad9\u70b9\u53d8\u6162\u5417?<\/dt>\n<dd><p>After v0.4.11, links can be cached in a database table, which greatly reduce the load time.<\/p>\n\n<p>You can find three cache modes in option page. If cache is disabled, the plugin have to analyze skydrive download page first, which surely needs some time. The time depends on the connecting speed between your host and skydrive site.<\/p>\n\n<p>In my host, the time to get a direct link is:<\/p>\n\n<p>No cache: 2-4 seconds.<\/p>\n\n<p>Cache and validate: 0.3-0.6 seconds.<\/p>\n\n<p>Only cache: 0.001 seconds.<\/p>\n\n<p>0.4.11\u7248\u5f15\u5165\u4e86\u7f13\u5b58\u673a\u5236\uff0c\u9875\u9762\u8f7d\u5165\u65f6\u95f4\u5927\u5927\u51cf\u5c11\u4e86\u3002<\/p>\n\n<p>\u4f60\u53ef\u4ee5\u5728\u8bbe\u7f6e\u9875\u770b\u5230\u4e09\u79cd\u7f13\u5b58\u6a21\u5f0f\u3002\u5982\u679c\u4e0d\u662f<code>\u4ec5\u7f13\u5b58<\/code>\u6a21\u5f0f\uff0c\u6b64\u63d2\u4ef6\u5fc5\u987b\u6bcf\u6b21\u90fd\u5206\u6790skydrive\u7684\u9875\u9762\uff0c\u8fd9\u9700\u8981\u4e00\u5b9a\u7684\u65f6\u95f4\u3002\u5177\u4f53\u65f6\u95f4\u591a\u5c11\u4f9d\u8d56\u4e8e\u4f60\u7684\u7ad9\u70b9\u548c\u5fae\u8f6fskydrive\u4e4b\u95f4\u7684\u7f51\u7edc\u901f\u5ea6\u3002<\/p>\n\n<p>\u4e0b\u9762\u8fd9\u4e9b\u6570\u636e\uff0c\u662f\u5728\u6211\u7684\u4e3b\u673a\u4e0a\u751f\u6210\u4e00\u4e2a\u5916\u94fe\u7684\u8017\u65f6\uff1a<\/p>\n\n<p>\u7981\u7528\u7f13\u5b58\uff1a2\u79d2-4\u79d2<\/p>\n\n<p>\u7f13\u5b58\u5e76\u9a8c\u8bc1\uff1a0.3-0.6\u79d2<\/p>\n\n<p>\u4ec5\u7f13\u5b58\uff1a0.001\u79d2<\/p><\/dd>\n<dt>\u81ea\u52a8\u66f4\u65b0?<\/dt>\n<dd><p>Since v0.5, skydrive links can be updated automatically and periodically. For the limitation of wordpress cron scheme, your site needs a visit to trigger the update.<\/p>\n\n<p>\u4ece0.5\u7248\u5f00\u59cb\uff0cskydrive\u94fe\u63a5\u53ef\u4ee5\u5728\u540e\u53f0\u5b9a\u671f\u81ea\u52a8\u66f4\u65b0\u3002\u4f8b\u5982\u8bbe\u5b9a\u5468\u671f\u4e3a8\u5c0f\u65f6\uff0c\u5219\u6bcf\u96948\u5c0f\u65f6\uff0c\u6240\u6709skydrive\u7684\u94fe\u63a5\u4f1a\u81ea\u52a8\u66f4\u65b0\u4e00\u6b21\u3002<\/p><\/dd>\n<dt>2011\u5e746\u6708\u4e0b\u65ec\u5fae\u8f6f\u66f4\u65b0\u94fe\u63a5\u683c\u5f0f<\/dt>\n<dd><p>\u5fae\u8f6f\u4fee\u6539\u4e86skydrive\u94fe\u63a5\u9875\u7684\u683c\u5f0f\uff0c\u4eca\u540e\u6211\u4eec\u5fc5\u987b\u6362\u7528\u65b0\u7684\u683c\u5f0f\uff0c\u4f46\u65e7\u7684\u94fe\u63a5\u683c\u5f0f\u4ecd\u7136\u88ab\u652f\u6301\uff08\u6682\u65f6\uff09\u3002\n\u65e7\u7684\u94fe\u63a5\u683c\u5f0f\u4f8b\u5982\uff1a<code>http:\/\/cid-955fceff19f67540.skydrive.live.com\/self.aspx\/.Public\/howdy.txt<\/code>\n\u65b0\u7684\u94fe\u63a5\u683c\u5f0f\u4e3a\uff1a<code>https:\/\/skydrive.live.com\/?cid=955fceff19f67540&amp;id=955FCEFF19F67540%21110<\/code>\n\u65b0\u7684\u94fe\u63a5\u683c\u5f0f\u5fc5\u987b\u5728\u6d4f\u89c8\u5668\u9875\u9762\u4e2d\u7528\u53f3\u952e\u83dc\u5355-&gt;\u590d\u5236\u5feb\u6377\u65b9\u5f0f\uff08\u94fe\u63a5\u5730\u5740\uff09\u83b7\u5f97\u3002<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>There are two new Skydrive link formats. But V0.6.9 only supports one. The other format is added in this version.<\/li>\n<li>\u5fae\u8f6f\u7684\u65b0\u94fe\u63a5\u683c\u5f0f\u6709\u4e24\u79cd\uff0c\u4f460.6.9\u7248\u4e2d\u53ea\u652f\u6301\u4e86\u4e00\u79cd\uff0c\u6b64\u7248\u672c\u52a0\u5165\u53e6\u4e00\u79cd\u3002<\/li>\n<\/ul>\n\n<h4>0.6.9<\/h4>\n\n<ul>\n<li>Fixed a serious bug.<\/li>\n<li>\u4fee\u8ba2\u4e86\u4e00\u4e2a\u4e25\u91cdbug\uff08php\u6587\u4ef6\u7684\u5f00\u5934\u591a\u4e86\u4e2a\u7a7a\u683c\u2026\u2026\uff09\uff0c\u611f\u8c22\u718f\u5b50(http:\/\/kuyur.info)\u544a\u77e5\u3002<\/li>\n<\/ul>\n\n<h4>0.6.8<\/h4>\n\n<ul>\n<li>This update is only because Skydrive changed its link format.<\/li>\n<li>\u6b64\u6b21\u66f4\u65b0\u4ec5\u56e0\u4e3aSkydrive\u4fee\u6539\u4e86\u4e0b\u8f7d\u94fe\u63a5\u7684\u683c\u5f0f\u3002\u611f\u8c22Ziyo\uff08http:\/\/www.xuwen.name\uff09\u544a\u77e5\u3002<\/li>\n<\/ul>\n\n<h4>0.6.5<\/h4>\n\n<ul>\n<li>Support SAE(Sina Application Engine) now. <\/li>\n<li>If you could not get a direct url before, try this version, which probably works now.<\/li>\n<li>\u652f\u6301SAE\uff08\u65b0\u6d6a\u5e94\u7528\u5f15\u64ce\uff09\u3002<\/li>\n<li>\u5982\u679c\u4f60\u4ee5\u524d\u7528\u8fd9\u4e2a\u63d2\u4ef6\u65e0\u6cd5\u5f97\u5230\u5916\u94fe\uff0c\u4e0d\u59a8\u8bd5\u8bd5\u8fd9\u4e2a\u7248\u672c\u3002<\/li>\n<\/ul>\n\n<h4>0.5.61<\/h4>\n\n<ul>\n<li>Skydrive directlinks can be updated automatically and periodically. The default period is <code>1 day<\/code>.<\/li>\n<li>Recommended cache modes is <code>cache only<\/code> now.<\/li>\n<li>You can manually update all links in the option page. Notice that <code>Update Now<\/code> in fact means <code>Update after 1 minute<\/code>.<\/li>\n<li>Some small changes.<\/li>\n<li>Skydrive\u5916\u94fe\u53ef\u4ee5\u88ab\u81ea\u52a8\u5b9a\u671f\u66f4\u65b0\u3002\u9ed8\u8ba4\u7684\u5468\u671f\u4e3a<code>1\u5929<\/code>\u3002<\/li>\n<li>\u65b0\u88c5\u6b64\u63d2\u4ef6\u65f6\uff0c\u9ed8\u8ba4\u7684\u7f13\u5b58\u6a21\u5f0f\u6539\u4e3a\u201c\u4ec5\u7f13\u5b58\u201d\u3002<\/li>\n<li>\u4f60\u4e5f\u53ef\u4ee5\u5728\u8bbe\u7f6e\u9875\u9762\u624b\u52a8\u66f4\u65b0\u6240\u6709\u94fe\u63a5\u3002\u6ce8\u610f\u201c\u7acb\u5373\u66f4\u65b0\u201d\u6309\u94ae\u7684\u542b\u4e49\u5176\u5b9e\u662f\u201c\u4e00\u5206\u949f\u540e\u66f4\u65b0\u201d\u3002<\/li>\n<\/ul>\n\n<h4>0.4.20<\/h4>\n\n<ul>\n<li>Remove <code>?download<\/code> from direct url.<\/li>\n<\/ul>\n\n<h4>0.4.13<\/h4>\n\n<ul>\n<li>This update is only because Microsoft changed its skydrive page source code.<\/li>\n<\/ul>\n\n<h4>0.4.11<\/h4>\n\n<ul>\n<li>Add a db table to cache links.<\/li>\n<li>Add three cache modes: no cache, cache and validate, cache only.<\/li>\n<li>Modify some items in option page. <\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Add skydrive load time test in option page.<\/li>\n<li>Fix some bugs on option page.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Change the main algorithm.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Works on wordpress 2.8 and 2.7.<\/li>\n<\/ul>","raw_excerpt":"Auto update the direct link of skydrive file. \u81ea\u52a8\u83b7\u5f97skydrive\u5916\u94fe\u3002","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6401"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flarefox"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6401"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6401"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6401"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6401"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6401"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}