MozTW 討論區 https://forum.moztw.org/ |
|
関於RSS和XML用firefox瀏覽的問題! https://forum.moztw.org/viewtopic.php?f=2&t=3528 |
第 1 頁 (共 1 頁) |
發表人: | pinkfox [ 2004-10-15, 23:28 ] |
文章主題 : | 関於RSS和XML用firefox瀏覽的問題! |
![]() ![]() ![]() 1、Extensible Markup Language (XML): An open standard for describing data. Unlike HTML, XML allows the developer of a web page to define special tags. For more information, see the online W3C document Extensible Markup Language (XML). 2、Feed: An XML web page that contains a list of links to other web pages. Special programs can read feeds to create a list of headlines from the links, automatically updating the list as it changes. News web sites use feeds to quickly publish the latest headlines, and personal online journals often use feeds to quickly notify visitors about new entries. See also live bookmark. 3、Live bookmark:A special type of bookmark that acts as a folder to contain the links in a feed. You can create a live bookmark by visiting a site with a feed, clicking on the live bookmark icon in the Status Bar, and selecting the feed format you wish to use.) |
發表人: | pinkfox [ 2004-10-16, 00:19 ] |
文章主題 : | |
對了,剛才看了一下http://moztw.org/可以在FF的右下方stylesheet choose処訂閱到RSS。 源碼是不是 <title>Moztw.Org: Mozilla Taiwan 正體中文化[臺灣] Traditional Chinese Localization</title> <link rel="stylesheet" type="text/css" href="/css/print.css" media="print"> <link rel="stylesheet" type="text/css" href="/css/base/content.css" media="all"> <link rel="stylesheet" type="text/css" href="/css/cavendish/content.css" title="Cavendish" media="all"> <link rel="stylesheet" type="text/css" href="/css/base/template.css" media="screen"> <link rel="stylesheet" type="text/css" href="/css/cavendish/template.css" title="Cavendish" media="screen"> <link rel="stylesheet" type="text/css" href="/css/cavendish/home.css" title="Cavendish" media="screen"> <link rel="icon" href="/images/mozilla-16.png" type="image/png"> <link rel="home" title="Home" href="http://www.moztw.org/"> <link rel="alternate" type="application/xml" title="RSS" href="/xmlnews.rdf"> <style type='text/css'> <!-- @import url(/css/moztw.css); --> </style> 呢? 請大大指正! |
發表人: | nickexe [ 2004-10-16, 00:29 ] |
文章主題 : | |
源碼這樣就好了 代碼: <link rel="alternate" type="application/xml" title="RSS" href="/xmlnews.rdf">
|
發表人: | piaip [ 2004-10-16, 00:33 ] |
文章主題 : | |
pinkfox 寫: 包括本站firefox特區的RSS也看不了(請piaip大大改進一下這個問題哈,畢竟我們本身就是要推廣Firefox的嘛,能用FF解決的問題就別給別個大大添蔴煩了嘛),都說“ 该 XML 文件并未包含任何关联的样式信息。文档树显示如下。”
對不起,我真的看不懂你在問什麼 這裡的 RSS 沒有問題 |
發表人: | pinkfox [ 2004-10-16, 01:11 ] |
文章主題 : | |
piaip 寫: pinkfox 寫: 包括本站firefox特區的RSS也看不了(請piaip大大改進一下這個問題哈,畢竟我們本身就是要推廣Firefox的嘛,能用FF解決的問題就別給別個大大添蔴煩了嘛),都說“ 该 XML 文件并未包含任何关联的样式信息。文档树显示如下。” 對不起,我真的看不懂你在問什麼 這裡的 RSS 沒有問題 嗯,我也知道是沒有問題的;可是我是說我不能直接用Firefox直接看呀,就是這個問題了。難道是不能直接瀏覽http://forum.moztw.org/rdf.php?fid=2的嗎? |
發表人: | piaip [ 2004-10-16, 01:32 ] |
文章主題 : | |
RSS 本來就不是設計給 browser 直接看的.... |
發表人: | 訪客 [ 2004-10-16, 01:37 ] |
文章主題 : | |
pinkfox 寫: piaip 寫: 對不起,我真的看不懂你在問什麼 這裡的 RSS 沒有問題 嗯,我也知道是沒有問題的;可是我是說我不能直接用Firefox直接看呀,就是這個問題了。難道是不能直接瀏覽http://forum.moztw.org/rdf.php?fid=2的嗎? 有人要你直接用 firefox 讀這個檔案嗎? |
發表人: | hof [ 2004-10-16, 01:51 ] |
文章主題 : | |
RSS 應該是要用 Sage 或 LiveBookmark 來看吧 |
發表人: | pinkfox [ 2004-10-16, 03:34 ] |
文章主題 : | |
嗯,不好所以,纍大大來貼貼。不過呢,如果說XML不能用瀏覽器來看到的話為什么我可以看瀏覽這些網頁呢?在http://www.xinhuanet.com/rss.htm裏麵的13個以XML結尾的網頁我都可以用firefox瀏覽呀,當然也可以用firefox的Live Bookmark來看。要說可以的話,為什么別的XMLhttp://www.xinhuanet.com/rss.htm我又看不暸呢?好煩哦,以后得好好學習喔 ![]() |
發表人: | BabySatan [ 2004-10-16, 05:37 ] |
文章主題 : | |
pinkfox 寫: 嗯,不好所以,纍大大來貼貼。不過呢,如果說XML不能用瀏覽器來看到的話為什么我可以看瀏覽這些網頁呢?在http://www.xinhuanet.com/rss.htm裏麵的13個以XML結尾的網頁我都可以用firefox瀏覽呀,當然也可以用firefox的Live Bookmark來看。要說可以的話,為什么別的XMLhttp://www.xinhuanet.com/rss.htm我又看不暸呢?好煩哦,以后得好好學習喔
![]() 嗯...我對XML還不是很了解 所以我也不知道說的對不對... ![]() 既然你兩邊的RSS的XML文件都看過了 有沒有發現哪邊不同呢? 用FireFox打開Mozilla@Taiwan Forum的RSS XML文件 最上方不是會顯示 "此 XML 未包含顯示用的樣式資訊。下面以文件節點樹狀方式顯示。" 所以這份XML文件就會用類似網頁原始碼的方式來顯示 而http://www.xinhuanet.com/rss.htm的RSS XML文件 原始碼前面2行 <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/css" href="rsstyle.css"?><rss version="2.0"> 這就是在指定輸出的樣式 所以我猜應該是因為這個原因所以才會不同吧? |
發表人: | nakeho [ 2004-10-16, 08:23 ] |
文章主題 : | |
新華網上面的 RSS 有加上頁面的樣式資訊,我是不知道那是不是符合 RSS 2.0 的標準,這樣的設計或許是想讓別人能夠很方便的在自己的網頁中,內嵌這些新聞資訊。 不過 RSS 的本意就是「簡單資訊交換」,因此大多數網站提供的 RSS,都不會加上頁面樣式資訊,因為許多人會用專用的 RSS reader 去讀取 RSS。 |
發表人: | 訪客 [ 2004-10-16, 10:26 ] |
文章主題 : | |
nakeho 寫: 新華網上面的 RSS 有加上頁面的樣式資訊,我是不知道那是不是符合 RSS 2.0 的標準,這樣的設計或許是想讓別人能夠很方便的在自己的網頁中,內嵌這些新聞資訊。 RSS 2.0本身不算是一種合法標準, 不過它是XML的一種, 相信加stylesheet沒有問題.
不過 RSS 的本意就是「簡單資訊交換」,因此大多數網站提供的 RSS,都不會加上頁面樣式資訊,因為許多人會用專用的 RSS reader 去讀取 RSS。 我想pinkfox是希望moztw也加上一個stylesheet, 讓支援XML+CSS的瀏覽器看到相關資訊吧? 不過, XML+CSS一般來說不能加上連結, 我總覺得就算這樣作也沒有沒有好處. ![]() |
發表人: | hof [ 2004-10-16, 11:58 ] |
文章主題 : | |
我測試了一下 下載了 本站的rdf.php.xml 新華的rsstyle.css 在rdf.php.xml 頭尾加上這兩排字 代碼: <?xml-stylesheet type="text/css" href="rsstyle.css"?><rss version="2.0">
. . . </rss> 這樣就能看到樣式了 要達成那個目的只需要一點點的修改 不過,有其他更好的RSS工具何需用站方醜醜的介面呢 當然還是把RSS的介面調成自己喜歡的色調會比較好 |
發表人: | walay [ 2004-12-25, 12:51 ] |
文章主題 : | |
Feedview 這個擴充套件可以讓 Firefox 直接看 RSS 喔 ![]() Feedview is a Firefox extension that shows newsfeeds/blogs in a more stylish way. Without the extension Firefox just shows the default xml stylesheet. http://www.epigoon.com/?page=feedview |
發表人: | philipz [ 2005-01-13, 11:43 ] |
文章主題 : | |
walay 寫: Feedview 這個擴充套件可以讓 Firefox 直接看 RSS 喔
![]() Feedview is a Firefox extension that shows newsfeeds/blogs in a more stylish way. Without the extension Firefox just shows the default xml stylesheet. http://www.epigoon.com/?page=feedview 真不錯,蠻好用的,這樣Taiwan CNET也可以看了 |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |