Editing
PChome Mypaper RSS
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Archived page | reason= PChome新聞台自 2008-09-15 提供[http://mypaper.pchome.com.tw/news/webadm2/3/1310244309/20080915122702 RSS訂閱功能],本文章停止更新。}} 使用[http://feed43.com/ Feed43 (Feed For Free)] 服務,擷取[http://mypaper.pchome.com.tw/ PC home Online 個人新聞台]最新文章資訊,產生[[RSS]](預覽[http://feed43.com/hotmypaper.xml 哈燒文章區RSS]或[http://feed43.com/rxoaat.xml 個站RSS])。 更簡單的替代方案:[http://blog.markplace.net/marks_place/17/2007/03/08/212 用Dapper輸出Mypaper的RSS] (由於PCHome變更過內容樣式,下列搜尋語法可能需要略微更新) === 步驟1. 指定網頁網址(Specify source page address (URL)) === 這個步驟指定網頁網址,建議選擇顯示最新文章列表網頁或索引頁面,通常是首頁。 * 網址(Address)*: 輸入個站的網址。 * 編碼(Encoding)*: 輸入big5-eten (香港文字編碼: big5-hkscs,關於Feed43 [http://feed43.com/context-help.html?t=encoding 支援的編碼說明]) * 載入網頁(Reload): 點選Reload按鈕,預覽是否順利載入 === 步驟2. 設定擷取方式(Define extraction rules) === RSS的組成通常是文章標題、網址及文章內容,因為個站首頁僅有文章標題及網址,所以個站RSS最後只會呈現這兩項。在這個步驟要定義出這個擷取區域。 * 項目列表出現區域的搜尋語法(Item (repeatable) Search Pattern)*: 最新文章項目出現的區域(詳[http://feed43.com/context-help.html?t=item_pattern 說明])。輸入下行設定後(如果您想要擷取其他個站,請自行將rxoaat更換成其他會員帳號。),按Extract按鈕,預覽是否順利載入。 <pre> <a href="http://mypaper.pchome.com.tw/news/rxoaat/3/{%1}" title="{%2}"> {%2} </a><br/> </pre> :# {*} 代表任意字元。 :# {%} 代表想要擷取的變數。 :## 第一個{%}(以下稱{%1})是最新文章的部份網址(個人新聞台文章的[[Permalink|靜態網址]]格式為 http://mypaper.pchome.com.tw/news/會員帳號/3/ㄧ連串的數字 )。 :## 第二個{%}(以下稱{%2})是最新文章的標題。 : 如果按Extract按鈕後發生One of search patterns is too heavy or malformed錯誤訊息,建議過一段時間再點選一次按鈕或者精簡語法(詳[http://feed43.com/context-help.html?t=pattern_optimization 說明])。 * Extract成功會在Clipped Data文字方框出現 {%1} 與 {%2}。 === 步驟3. 設定輸出格式(Define output format) === ==== 資料來源的屬性(RSS feed properties) ==== * 資料來源的標題(Feed Title)*: 輸入個站的名稱 (中文會出現亂碼) * 資料來源的網址(Feed Link)*: 輸入個站首頁的網址 * 資料來源的描述(Feed Description)*: 輸入個站的描述 (中文會出現亂碼) ==== 最新文章項目的屬性(RSS item properties) ==== * 標題項目的樣式(Item Title Template)*: {%2} * 網址項目的樣式(Item Link Template)*: http://mypaper.pchome.com.tw/news/rxoaat/3/{%1}/ (如果您想要擷取其他個站,請自行將rxoaat更換成其他會員帳號。) * 內容項目的樣式(Item Content Template)*: 因為個站首頁僅有文章標題及網址,所以內容部分僅是重新組合文章的標題與網址。 <pre> <a href="http://mypaper.pchome.com.tw/news/rxoaat/3/{%1}" title="{%2}"> {%2} </a><br/> </pre> * 點選預覽(Preview)按鈕,看RSS是否順利呈現。 === 步驟4. 取得RSS資料來源(Get your RSS feed) === * 使用[http://feedvalidator.org/ Feed Validator for Atom and RSS]驗證Feed格式。 * Feed43服務約6小時自動更新一次資料來源(詳[http://feed43.com/faq.html FAQ]),日後你可以將RSS資料來源網址(Feed URL)複製到[[RSSFeedReader|RSS閱讀軟體]]或[[RSS Server Side Aggregator|線上服務]],就可以隨時取得個人新聞台最新文章資訊。 == 其他: 哈燒文章區RSS == [http://mypaper.pchome.com.tw/components/c2c_list_new.htm 哈燒文章區][http://feed43.com/hotmypaper.xml RSS]的Item (repeatable) Search Pattern為 <strong class="t16{*}/news/{%}">{%}</a>{*}"t12g">{%}...{*}table '''相關文章/服務''' * [http://libraryviews.blogsome.com/2006/03/12/280/ Library Views 圖書館觀點 :: 替網頁建立 RSS feed :: March :: 2006] (last visited: June 11, 2006) * [http://eshensh.net/srss.php 易玄小築 Super RSS 服務] (last visited: July 15, 2006) * [http://kenzone.blogbus.com/logs/2006/04/2295747.html feed43使用教程 - Unique Slacker - BlogBus.com] (visited: 2007-03-08) * [http://catwizard.blogbus.com/logs/4712661.html 生成RSS种子的网站·学网的RSS种子 - 编目精灵II -- On the Fly - BlogBus.com] (visited: 2007-03-08) {{:Guide to RSS}} [[Category:RSS]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Guide to RSS
(
edit
)
Template:Archived page
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information