Can You Find Your Feed您能找到您的飼料
May 21st, 2007 · by David Bradley 2007年5月21日,大衛布拉德利
Are you running a blog or a site that serves a newsfeed?你運行一個博客或網站上提供服務,新聞? Got your RSS icon in place?得到您的RSS圖標,在地方? Showing your顯示您的 Feedburner subscriber stats feedburner登記統計 ? ? Do you see the glowing orange feed button in the Internet Explorer 7 toolbar when you visit your own site?你看到發光橙飼料按鈕,在Internet Explorer 7的工具欄,當您訪問您自己的網站呢? No?沒有? You may have fallen into the same trap I did over on Sciencebase.com.您可能已經陷入同樣的陷阱,我本來就超過sciencebase.com 。
This is how to fix it so that little orange icon blinks on and gives your IE7 visitors another simple way to subscribe to your newsfeed with as little trouble as possible.這是如何解決此問題,使小橙圖標閃爍,並讓您在IE7旅客另一種簡單的方式來訂閱您新聞與少麻煩越好。
Go to your site’s template or theme and add the following to the head section, editing it to suit your site obviously.到您網站的模板或主題和以下內容添加到標頭區段,編輯,以配合您的網站明顯。
<link rel=”alternate” type=”application/rss+xml” title=”Sciencetext Feed” href=”http://www.sciencetext.com/feed/” /> <link rel="alternate" type="application/rss+xml" title="sciencetext feed" href="http://www.sciencetext.com/feed/" />
Test it and if that works okay, then also add this to give visitors the option to subscribe to your comments feed too.測試它,如果說,工程好,然後還補充一點,讓旅客可以選擇訂閱您的評論飼料。
<link rel=”alternate” type=”application/rss+xml” title=”Sciencetext Comments Feed” href=”http://www.sciencetext.com/comments/feed/” /> <link rel="alternate" type="application/rss+xml" title="sciencetext評論feed" href="http://www.sciencetext.com/comments/feed/" />
Depending on your blog or site setup, it is possible to use php to call the feed URL instead of hard coding it in this way, you might wish to Google that point if you would prefer to create the tags on the fly.根據您的博客或網站設置,是有可能的使用PHP調用供稿網址,而不是硬編碼,它在採用這種方式,您不妨到Google這一點,如果您希望創建的標記,該飛行。
By, the way this is the RSS autodiscovery meta tags needed by savvy web browsers and news aggregators to find your feed.由,方式,這是RSS的自動中繼標記需要精明的Web瀏覽器和新聞聚合器找到您的飼料。 Once you’ve edited the snippet and added it, your site should advertise its feed to visitors via IE7 and other web browsers alike.一旦您所編輯的片段,並補充說,您的網站應該宣傳其飼料遊客途經的IE7和其他網頁瀏覽器一樣。
Still not working?還沒有工作呢? Are you using non-standard static pages outside the main Wordpress folder as I am on Sciencebase?您使用非標準的靜態網頁外,主要的WordPress文件夾,因為我對sciencebase ? Then it could be a problem with your php tinkering.然後,它可能有問題,你的PHP修修補補。 To call the Wordpress components from outside its usual folder structure requires a little bit of tinkering with php code.調用的WordPress組件以外的其一貫的文件夾結構,需要一點點修補PHP代碼。 To make sure this works perfectly and is compatible with the RSS autodiscovery meta tags (for IE7 at least) you must make sure there are no other pieces of code between the php headers that call the Wordpress install and the header call.要確保這一工程完全是兼容的RSS自動中繼標記(至少在IE7中) ,您必須確定有沒有其他塊之間的代碼PHP的標題呼叫的WordPress安裝和標題通話。 That way, there is no break in IE7’s view of your page and it will flash that orange icon.這樣,是沒有打破在IE7中的看法,您的網頁,並會閃光,橙色圖標。
Now that you have fixed things, you should expect to see an increased flurry of feed subscribers from IE7 hits.現在,您已經有了固定的東西,你應該期望看到更多的紛紛飼料的用戶從7安打。 In fact, I am counting on it.事實上,我指望它。






















0 responses so far ↓ 0反應到目前為止↓
Got something to say?得到的東西說什麼呢? Start a comment thread here.啟動一個線程在這裡發表評論。 Top commentators get a FREE link on the homepage!頂端評論家立即獲得免費的鏈接的網頁!
Leave a Comment留下意見