rss

Creating a rss feed and having some trouble with Mysql

。_饼干妹妹 提交于 2019-12-07 16:30:28
I can't seem to be able to get any images or titles from the mysql database even though I am connected, to the actual rss feed, and i am not sure what I am doing wrong. <?php define ("DB_HOST", "xxx"); // set database host define ("DB_USER", "xxx"); // set database user define ("DB_PASS","fgbsh"); // set database password define ("DB_NAME","adfgadg"); // set database name $link = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die("Couldn't make connection."); $db = mysql_select_db(DB_NAME, $link) or die("Couldn't select database"); $query = "SELECT story, description, pic, url FROM ".posts."

problem with rss feed and cdata

吃可爱长大的小学妹 提交于 2019-12-07 15:26:20
问题 I have a problem with an rss feed. When i do <title>This is a title </title> The title appears nicely in the feed But when i ddo $title = "this is a tilte"; <title><![CDATA['$title']]></title> The title doesn't appear at all. It still doesn't work. I generate my rss feed dynamicly and it looks like this: $item_template=" <item> <title>[[title]]</title> <link>[[link]]</link> <description><![CDATA[[[description]]]]></description> <pubDate>[[date]]</pubDate> </item> "; and in a loop: $s.=str

PHP & RSS Feeds & Special Characters validation Problem

让人想犯罪 __ 提交于 2019-12-07 15:20:08
问题 I keep getting the following validation warning below. And I was wondering that some of my articles deal with special characters and was wondering how should I go about rendering or not rendering special characters in my RSS feeds? Should I use htmlentites or not? If so how? In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations. line 22, column 35: title should not contain HTML: & PHP code. <title>' . htmlentities

How to make the Mercurial (hgwebdir) rss/atom feed display the branch name

点点圈 提交于 2019-12-07 13:55:44
问题 I would like to configure our Mercurial server installation so the rss/atom feed will publish the branch name of the changeset, in addition to the standard fields (title, guid, description, author, pubDate). 回答1: Installation locations differ, but on ubuntu you'll find the relevant file as /usr/share/mercurial/templates/atom/changelogentry.tmpl . It starts out looking like: <entry> <title>{desc|strip|firstline|strip|escape|nonempty}</title> <id>{urlbase}{url}#changeset-{node}</id> <link href=

How can I integrate Laconica update stream into SharePoint?

六眼飞鱼酱① 提交于 2019-12-07 11:45:13
问题 I have Laconica (self hosted twitter) configured on my local intranet and would like to integrate the public stream into SharePoint site with a web part. How can I do this? 回答1: You can point an RSS Viewer web part at the laconi.ca public stream RSS feed and use this XSLT to ensure attractive output. Result screen shot: Screenshot of Laconica update stream in SharePoint Team Site http://friendfeed.s3.amazonaws.com/9e1759e689923f47ed4aa8721c9e104980db4b1c XSL transform: <xsl:stylesheet xmlns:x

Get Full-Text Feed with Delphi

我是研究僧i 提交于 2019-12-07 10:55:08
问题 I'm developing a Delphi program that reads the source of a feed through the component Indy idHTTP.. but the feed does not appear complete, appears only its summary, I mean the feed does not show the "content" tag. I think it is possible to get full-text feeds because I have found some sites on the Internet (like http://fulltextrssfeed.com/) that can show the full-text feed, even for feeds that show only the summary. What should I do to be able to read the full-text feed via Delphi? Is there a

How to Add CSS Reference to .NET SyndicationFeed?

自作多情 提交于 2019-12-07 10:20:18
问题 I have created a simple SyndicationFeed with many SyndicationItems. Each SyndicationItem has HtmlContent. The HtmlContent is a table. This displays OK, but now I need a minimum of styling/padding on the table. I believe I need to add a stylesheet reference like <?xml-stylesheet type="text/css" href="http://you.com/rss.css" ?> But I do not see how to do this with the .NET 4.5 SyndicationFeed or Atom10FeedFormatter classes. Here is the (pseudo) code that is generated by a WCF service. var feed

Reading iso-8859-1 rss feed C# WP7

为君一笑 提交于 2019-12-07 07:56:47
问题 I'm trying to read a rss feed which uses the iso-8859-1 encoding. I can get all elements fine, the problem is when I put it in a textblock it will not show all characters. I'm not sure what i'm doing wrong. i've tried a few solutions I found on google but this didn't work for me. I must be missing something.. It's also the first time I really work with anything other than utf-16. I never had to convert anything before. The app works as follows I downloadstring async(WebClient). So when that

Get Facebook Events to RSS feed

我的梦境 提交于 2019-12-07 07:08:48
问题 How to get all events as Rss for a user from Facebook. I tried below link but it giving only one event not all. https://developers.facebook.com/tools/explorer/?method=GET&path=643795265635061 I could not find any link to get all events for the user. Is there any way to get all events in RSS or Json format. Thanks 回答1: Events can be exported in popular calendar formats (Apple iCal, Microsoft Outlook, Google Calendar) but unfortunately there is no public feed! To retrieve an event feed as JSON,

Is it possible to get RSS archive

倾然丶 夕夏残阳落幕 提交于 2019-12-07 06:40:25
问题 I know that rss feeds is news...Is it possible to get rss feed's from yesterday or day before yesterday...(more exactly, archive of rss feeds). 回答1: No, the server decides what posts to feed you. Your RSS server might be configured to let you have more posts by supplying arguments to the feed url - but thats unlikely. 来源: https://stackoverflow.com/questions/2123918/is-it-possible-to-get-rss-archive