Intr" name="description" /> Intr" />

瀹氬埗Feeds

濡傛灉feed锛屽唴瀹硅仈鍚堬紙syndication锛夋垨RSS杩欐牱鐨勬湳璇浣犵姱杩风硦鐨勮瘽锛屽氨鏃犻渶缁х画寰€涓嬬湅浜嗭紝璇峰厛浜嗚В涓€涓嬩粈涔堟槸鍐呭鑱斿悎锛?a href="http://codex.wordpress.org/Introduction_to_Blogging#Syndication" title="Introduction to Blogging">Introduction to Syndication锛夈€傚厛寮勬槑鐧絝eeds鍜屽唴瀹硅仈鍚堟墠鏄噸瑕佺殑銆傛垜浠墜澶翠笂杩樻湁涓€浠芥湁鍏?a href="../../../../codex-WordPress%20Feeds.html">WordPress Feeds鐨勬枃绔狅紝瀹冭兘甯姪浣犲涔犵浉鍏崇殑鍩虹鐭ヨ瘑锛屽綋鐒朵箣鍚庣殑琛屾枃鏄壌浜庝綘宸茬粡浜嗚Вfeeds鍙婂叾鍔熺敤鐨勬儏鍐典笅浣滄垚鐨勩€?/p>

鑷畾涔夌殑feeds鑳借浣犵殑璇昏€呭浣犲強浣犵殑鍗氬浜嗚В寰楁洿澶氾細浣犲彲浠ュ垪鍑哄崥鏂囩殑鍗忎綔鑰呭悕鍗曪紝鎴栬€呮槸缁欏嚭鏌愪釜鍙嬫儏锛堟枃浠讹級閾炬帴銆傚弽涔嬶紝瀹冭繕鑳藉府鍔╀綘闄愬埗鍐呭鑱斿悎鐨勫彲鐢ㄤ俊鎭紝鍙互閫氳繃绉婚櫎鏃犲叧鏁版嵁鎴栨彁渚涚増鏉冨0鏄庣殑鏈哄櫒鍙鐗堟湰鏉ヨ揪鍒版鐩殑銆?/p>

WordPress濡備綍浜х敓Feeds

WordPress浣跨敤涓€濂梖eed妯℃澘鏉ユ樉绀虹綉绔欑殑feeds锛岃繖涓庡瑙備富棰樻ā鏉挎樉绀哄唴瀹圭殑鏂瑰紡鏄竴涓亾鐞嗐€傝繖浜沠eed妯℃澘浣嶄簬WordPress涓荤洰褰曚笅锛涘畠浠棤娉曠敤浜庡瑙備富棰樼郴缁熴€?/p>

浠ヤ笅涓篧ordPress鎵€鍖呮嫭鐨刦eed妯℃澘锛?/p>

wp-rss2.php

鏄剧ずRSS 2.0鏍煎紡鐨勯」鐩€?

wp-rss.php

鏄剧ずRSS 0.92鏍煎紡鐨勯」鐩€?

wp-rdf.php

鏄剧ずRDF/RSS 1.0鏍煎紡鐨勯」鐩€?

wp-atom.php

鏄剧ずAtom鏍煎紡鐨勯」鐩€?

wp-commentsrss2.php

鏄剧ず璇勮 - 鍖呮嫭鎵€鏈夋棩蹇楃殑鏈€鏂拌瘎璁猴紝鍙婃煇鐗瑰畾鏃ュ織鐨勮瘎璁?- 鏍煎紡涓篟SS 2.0銆?/strong>

瀹氬埗Feeds

瀹氬埗feeds鐨勬柟娉曞绉嶅鏍凤紝浣犲彲浠ヤ娇鐢ㄧ涓夋柟杞欢灏嗗叾瀹夎骞舵寕鍒癢ordPress涓紝杩樺彲浠ラ€氳繃鎵嬪姩淇敼feed妯℃澘鏉ュ疄鐜般€?/p>

绗笁鏂硅蒋浠?

涓€浜涚涓夋柟web鏈嶅姟鑳藉甯姪浣犵鐞嗗苟瀹氬埗feeds銆備娇鐢ㄦ绫绘湇鍔¤兘澶熻交鏄撳湴璁$畻feed闃呰浜烘锛屾垨灏嗗崥瀹eed涓嶧lickr photostream缁勫悎銆?/p>

姝ょ被鏈嶅姟鍣ㄥ寘鎷細

  • FeedBurner - 鍙傝浣跨敤FeedBurner锛?a href="http://codex.wordpress.org/Using_FeedBurner" title="Using FeedBurner">Using FeedBurner锛?/li>
  • RSS Mix - 灏嗗涓猂SS feeds鏁村悎鍏ュ崟涓祦涔嬩腑

瀹氬埗Feed妯℃澘

缂栬緫feed妯℃澘涓庣紪杈戝瑙備富棰樻ā鏉垮嚑涔庣浉鍚屻€傚敖绠″姝わ紝feed妯℃澘骞舵湭琚暣鍚堝叆WordPress澶栬涓婚绯荤粺涔嬩腑锛涘鏋滀綘甯屾湜feeds鏈変笉鍚岀増鏈殑璇濓紝灏遍渶瑕侀澶栧垱寤篺eed妯℃澘鎴栦负WordPress鎵撲笂姝よˉ涓?/strong>锛?a class="external text" href="http://wordpress.org/support/topic/25905" title="http://wordpress.org/support/topic/25905">this patch锛夈€?/p>

璁稿涓撻棬鐨勬ā鏉挎爣绛鹃兘鏄簲鍐呭鏍煎紡鑰屽瓨鍦ㄧ殑锛岃€岃繖浜涘唴瀹瑰垯鏄伒寰猂SS鏍囧噯鐨勩€傝繖浜涙爣绛惧寘鎷細

鐜板湪璁╂垜浠潵鐪嬬湅濡備綍灏嗚繖浜涙ā鏉挎爣绛剧敤浜嶹ordPress缃戠珯feeds鍚с€?/p>

浣縋ubDate鐢ㄤ簬Wordpress 2.2

閴翠簬鍚庢枃锛?tt>wp-rss2.php涓嶅啀鍏锋湁pubDate鍛戒护锛屼絾/wp-includes/feed-rss2.php鍦?/tt>20鍙?2琛屼腑浠嶄娇鐢ㄥ畠銆?/p>

PubDate鐢ㄤ簬闈炶嫳璇浗瀹舵棩鏈?

WordPress1.5涓殑RSS 2.0 feed浣跨敤鏌愪簺璇█鐗瑰畾鏈鏉ユ樉绀烘棩蹇楃殑鏃ユ湡鍏冪礌銆傚鏋滀綘浣跨敤鐨勬槸闈炶嫳鏂囩増鐨刉ordPress锛屾煇浜沠eed闃呰鍣ㄥ氨鏃犳硶姝g‘杞В杩欎簺鍚嶇О锛屼粠鑰屽鑷存樉绀哄強/鎴栭獙璇佹柟闈㈢殑閿欒銆?strong>濡傛灉浣犱娇鐢?/strong>WordPress1.5.1涔嬪悗鐨勭増鏈紝feeds涓嚭鐜扮殑鍥介檯鏃ユ湡锛?a class="external text" href="http://trac.wordpress.org/ticket/891/" title="http://trac.wordpress.org/ticket/891/">international dates in feeds锛夐棶棰樺凡琚慨澶嶃€?/b>

瑕佽В鍐虫棭浜涚増鏈琖ordPress涓殑姝ら棶棰橈紝璇锋墦寮€wp-rss2.php骞跺皢pubDate鍏冪礌锛?/p>

<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_the_time('Y-m-d H:i:s'));?></pubDate>

淇敼涓猴細

<pubDate><?php echo mysql2date('r', get_the_time('Y-m-d H:i:s'));?></pubDate>

'r'涓轰竴娉涚敤鐨?strong>PHP鏃ユ湡鏍煎紡锛?/strong>PHP date format锛夛紝骞朵笉渚濊禆浜庡凡缈昏瘧鐨勫瓧涓层€?/p>

人吐槽 人点赞

猜你喜欢

发表评论

用户名: 密码:
验证码: 匿名发表

你可以使用这些语言

查看评论:瀹氬埗Feeds