个人工具
104.160.18.24
该IP地址的讨论
登录
查看“UbuntuHelp:MythNews”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:MythNews”的源代码
来自Ubuntu中文
←
UbuntuHelp:MythNews
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/MythNews}} {{Languages|UbuntuHelp:MythNews}} <<Include(MythTV/Header)>> <<Include(MythTV_Plugins_News)>> == This Page is under construction == == Installation and Setup == Install the mythnews plugin: <pre><nowiki> $ sudo apt-get install mythnews </nowiki></pre> Choose your RSS feeds: * Start the mythfrontend and navigate to '''Utilities/Setup --> Setup --> Info Center Settings --> News Settings''' and select the feeds you would like to read. == Basic Usage == To use MythNews go to '''Information Center --> News Feeds''' * Navigation: * Use up and down arrows to move through the list of news feeds. * Select a news feed with the right arrow. * Browse cached articles with the up and down arrows. * Use the left arrow to return to the feeds list. * Update an un-updated feed with "I" (This information may not be correct) * Adding, Editing, Deleting a feed * Press "M" to open the MythNews Menu * Select from "Edit News Site", "Add News Site", or "Delete News Site" == Updating news-sites.xml to latest == All RSS feed information is stored in a file calles news-sites.xml. The version of this file provided with the Ubuntu repository packed is a bit dated. To update to the latest version: <pre><nowiki> $ cd /usr/share/mythtv/mythnews $ sudo mv news-sites.xml news-sites.xml_backup $ sudo svn co http://svn.mythtv.org/svn/trunk/mythplugins/mythnews/mythnews/ $ sudo cp mythnews/news-sites.xml . $ sudo rm -r mythnews </nowiki></pre> == Purging Feed Data == The feeds you choose during setup are stored in the "newssites" table of the mythconverg database. The article information is stored in the home directory of the user who runs mythfronted in this directory: <pre><nowiki> ~/.mythtv/MythNews/ </nowiki></pre> To purge MythNews data and cached articles: <ol><li>Drop the newssites table. From the '''Backend''' machine:</li></ol> <pre><nowiki> $ mysql -u root -p mysql> DROP TABLE mythconverg.newssites; mysql> exit </nowiki></pre> <ol><li>Delete cached articles. From the '''Frontend''' machine:</li></ol> <pre><nowiki> $ cd ~/.mythtv/MythNews $ rm * </nowiki></pre> <ol><li>Start the mythfrontend and navigate to '''Utilities/Setup --> Setup --> Info Center Settings --> News Settings''' and select the feeds you would like to read.</li></ol> == Known Issues == * The default install package has some obsolete feed addresses (ie: Computers --> Ubuntu News) * Not all RSS feeds can be accessed by MythNews (ie: http://www.digg.com/rss/index.xml) ---- [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:MythNews
。