Menu
  • HOME
  • TAGS

How can I manage large input to my RSS endpoint?

javascript,angularjs,asp.net-web-api,rss

I'm not 100% sure I understand the question, but if I'm correct, you're trying to get the Angular application to "render" the RSS feed content it gets from the backend, right? The quick answer is that you can't do this directly inside the angular application, because of course, your Angular...

Rss reader with custom array adapter

android,android-studio,rss

LAdapter adapter = new LAdapter(getActivity(), arrayOfInfo); arrayOfInfo is null (it's not even initialized), because you call your asynctask after arrayOfInfo. With the data you receive from the DoInBackground method, you can set arrayOfInfo with data in the method OnPostExecute in asynctask and after this array is set with data, you...

List returns null

android,android-studio,rss

You need to assigns the ArrayList object; ArrayList<Info> arrayOfInfo; replaceWith ArrayList<Info> arrayOfInfo=new ArrayList<>(); ...

Codeigniter fatal error using $this

php,codeigniter,rss

try this $CI =& get_instance(); and after this use $CI instead of $this....

Fetch XML via HttpClient and populate a List<>

c#,xml,rss,dotnet-httpclient

Replace // ****** fetch the RSS feed here as XML... ****** with: string result; using (var httpClient = new HttpClient()) { var request = new HttpRequestMessage(HttpMethod.Post, url); var response = await httpClient.SendAsync(request); result = response.Content.ReadAsStringAsync().Result; } XmlReader rssFeed = XmlReader.Create(new StringReader(result)); ...

Google calendar feed link does not respect the parameters

api,rss,google-calendar,feed

As I said previously this is the same as the previous post in as much as you need to change the parameter "timeMin" to be "start-min" Therefore the answer for your URL is https://www.google.com/calendar/feeds/mariushincu0%40gmail.com/public/basic?singleEvents=true&orderBy=startTime&start-min=2015-04-25T00:00:00Z...

Trouble reading RSS data in AS3

actionscript-3,flash,rss

You need to reference the media namespace to access that content node with the url. Here is an example: //get a reference to the media namespace var ns:Namespace = new Namespace("http://search.yahoo.com/mrss/"); //use ns::content to get a reference to a `content` node in the media namespace xml.channel.item[0].ns::[email protected]; Keep in mind, namespaces...

Fetch several rss feeds from other blogs in one page

wordpress,function,rss,fetch,autoblogged

Much easier to use WordPress's built-in RSS function. See https://codex.wordpress.org/Function_Reference/fetch_feed Use it as many times as you want in a php template, or make it generate a shortcode. Style the <ul> and <li> and add a containing <div> if needed. Example: <?php // Get RSS Feed(s) include_once( ABSPATH . WPINC...

Opening and Ending Tag mismatch error while creating Rss

php,rss

It might be the header, I use the following in my PHP generated RSS feeds: header('Content-type: text/xml; charset=UTF-8'); And escape your <title> and <description> with CDATA. Did you validate your feed using the RSS validator? https://validator.w3.org/feed/ Also my structure is a bit different: <?xml version="1.0" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel>...

RSS Reader create custom Adapter for ListView

java,android,xml,rss

ArrayList<PostData> listData is not initiated anywhere which gives null pointer exception. Initialize it like: listdata = new ArrayList listData(); before executing AsyncTask...

HTML and CSS twitter/Facebook feed

html,css,facebook,api,rss

There are many apis and embeds provided by both Twitter and Facebook, that with some knowledge you can get to work. However, since you don't have any code, we can't dissect what you have tried. Have you tried searching around for options? There are plenty! I would look into TintUp,...

W3C validator says 'feed does not validate' 'url must be a full URL'… whats wrong with it?

url,rss,w3c,w3c-validation,rfc

The problem seems to be that it’s a HTTPS URL instead of a HTTP URL. The linked error documentation, foo attribute of bar must be a full URL, says: If this is a link to a web page, you must include the "http://" at the beginning and immediately follow it...

JAVA get attributes value from xml using stax parser

java,xml,rss,stax

i find answer after many try and looking in java api documentation in RSSFEEDPARSER class i add those lines my gol was to find an attribute 'url' in thumbnail tag so before my switch or after i add // get attribute of thumbnail Tag //get thumbnail ppicture link if(localPart.equals("thumbnail")){ Iterator<Attribute>...

Open rss item in webview

android,rss,android-webview,rss-reader

Write another activity with webview and pass the url you need to open in the intent data before you start the new activity. The new activity will read the url from the intent and it should then load it in the webview What kind of help do you need to...

Can an RSS guid be considered globally unique?

rss,guid

The GUID is not even mandatory, so in my opinion it is not safe to consider it unique. I'd suggest you read this blog post about rss feed duplicate detection.

How to str_replace Google News RSS for Facebook Share?

regex,rss,preg-match,simplexml,str-replace

You could use the built-in PHP functions parse_url (split URL into components) and parse_str (get parameter values from query string) for this: $feed = file_get_contents( "https://news.google.com/news/feeds?q=KEYWORD&output=rss" ); $xml = new SimpleXmlElement($feed); foreach ($xml->channel->item as $entry){ // Get query part of link $query = parse_url($entry->link, PHP_URL_QUERY); // Parse query parameters into...

SQLITE Order by date ignores year

php,mysql,sqlite,rss

Your date field is string. You must create field as datetime . Example 2012-11-11 22:31:22

How can i limit the number of articles (retrieved from an RSS) shown in php per page ? (Eg 10 articles per page)

javascript,php,html,dom,rss

One thing you can do is break the foreach loop when a counter reaches 10. $i = 0; foreach ($itemList as $item) { $i++; // ... if($i>9){ break; } } Or, restructure into a for() loop, and surround ALL the code inside with an if() statement similar to above....

Getting img url from RSS feed swift

ios,regex,swift,rss

You should consume as many characters up to the src attribute as possible. You can do it with .*?: var regex: NSRegularExpression = NSRegularExpression(pattern: "<img.*?src=\"([^\"]*)\"", options: .CaseInsensitive, error: nil)! Also, you can use the sample from Ross' iOS Swift blog import Foundation extension String { func firstMatchIn(string: NSString!, atRangeIndex: Int!)...

There is a error in parsing the rss from stackoverflow.com. using SimpleXML in PHP

php,xml,rss

You use array-access in SimpleXML to access attributes so: $loaded["entry"] returns the attribute named "entry" from the document element. use arrow-access to get the element named "entry" instead: $loaded->entry this returns the element named "entry". Additionally take care with namespaces. Parsing a feed with SimpleXML has been outlined already in...

Creating a razor dynamic html table in ASP.Net

c#,asp.net,asp.net-mvc,razor,rss

It can be easily achieved using a list and css rules rather than a table: <ul> @foreach (var item in ViewBag.RSSFeed) { <li> @Html.Raw(item.Description) </li> } </ul> CSS: ul { list-style-type: none; } ul li { float: left; padding: 5px; } ul li:nth-child(3n + 4) { clear: left; float: left;...

How to make a database for user content [closed]

php,mysql,rss

You can create a table that would have rows like this: id, user_id, feed_id,mod-date; no need to keep all the feeds for all the users with booleans in them, because you would have number of users X number of feeds in this table. My way you only have the rows...

Bad characters in output from rss feed

c#,asp.net,rss

Problem with encoding is caused by reading xml as string because encoding detection in XML differs from encoding detection in strings. WebClient webClient = null; XmlReader xmlReader = null; try { webClient = new WebClient(); webClient.Headers.Add("user-agent", "Mozilla/5.0 (Windows; Windows NT 5.1; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4"); xmlReader = XmlReader.Create(webClient.OpenRead(url)); // Read XML...

How to insert an element .. inside the channel element in a RSS feed using C#?

c#,asp.net,xml,rss

Try this, if i understood the requirements correctly: XmlDocument doc = new XmlDocument(); XmlNode rss = doc.CreateElement("rss"); XmlAttribute version = doc.CreateAttribute("version"); version.Value = "2.0"; rss.Attributes.Append(version); XmlNode channel = doc.CreateElement("channel"); XmlNode item = doc.CreateElement("item"); XmlNode Title = doc.CreateElement("title"); Title.InnerText = "Title Text"; item.AppendChild(Title); XmlNode link = doc.CreateElement("link"); link.InnerText = "http://www.example.com/.txt"; item.AppendChild(link);...

Converting RSS to JSON adds strange characters

ajax,json,rss

This is all standard encoding. The original is: "Frozen". Since json uses the " itself, the encoding enters a \ before each quote. The \u003cimg src\u003d\" was ...

Issue Instantiating jQuery jCarousel

javascript,jquery,rss

Can you please make sure that the path of "jcarousel.min.js" file is right or not? It shows me below error. "NetworkError: 404 Not Found - http://www.davincispainting.com/js/jquery.jcarousel.min.js" if so then please make correct path for the same. or you can use below path also. Please check this and let us know...

Media content tag missing from rss feed generated by Rome 1.0

rss,media,rome

Can you try Rome 1.5.0? Your code seems to work fine with it and the media tags get generated too.

media:thumbnail w/ BeautifulSoup

python,rss,beautifulsoup

Don't include the namespace prefix: >>> doc.find('thumbnail') <media:thumbnail height="51" url="http://i2.cdn.turner.com/cnn/dam/assets/150116173806-amateur-video-amedy-coulibaly-top-tease.jpg" width="90"/> The element.find() method returns one element, so there is no need for subscription here; you can access the url attribute on the element directly: >>> doc.find('thumbnail')['url'] u'http://i2.cdn.turner.com/cnn/dam/assets/150116173806-amateur-video-amedy-coulibaly-top-tease.jpg' There currently isn't any...

How to return RSS with REST service?

java,rest,rss,jersey,rome

Jersey does not know how to map an instance of SyndFeed to XML. This works. @Path("stackoverflow") public class RomeRessource { @GET @Path("/feed") @Produces("application/rss+xml") public Response getFeed() throws IOException, FeedException { final SyndFeed feed = generate(); // Write the SyndFeed to a Writer. final SyndFeedOutput output = new SyndFeedOutput(); final Writer...

Fatal error: Call to a member function getElementsByTagName() WordPress 4.2.2 RSS Feed

php,xml,wordpress,rss,domdocument

You can use this way : $feed = new DOMDocument(); $feed->load('http://www.revolutionpersonaltraining.com.au/blog/feed/'); $items = array(); foreach ($feed->getElementsByTagName('item') as $item) { array_push($items, array ( 'title' => $item->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $item->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $item->getElementsByTagName('link')->item(0)->nodeValue, 'date' =>...

Reading RSS Feed with MVC4

c#,asp.net-mvc,asp.net-mvc-4,rss

I believe the problem is with your view. In the for each loop, item refers to the WordPressRSS item and not the list. Try referencing the properties directly. @item.Title Instead of @item.RSSFeed.FirstOrDefault().Title ...

Writing a Dataset to xml including extra element

c#,xml,datatable,rss,dataset

I am not sure if it is possible to add the Custom node using the WriteXml method. But what you can do is use the XMLWriter and write the nodes manually as you want. using (XmlWriter xmlWriter = XmlWriter.Create(@"\\yourfilePath.xml")) { xmlWriter.WriteStartElement("root"); xmlWriter.WriteStartElement("Products"); xmlWriter.WriteElementString("totalcount", dt.Rows.Count.ToString()); foreach (DataRow dataRow in dt.Rows) {...

How to paginate with string provided in JSON result?

json,rss,feedly

See http://developer.feedly.com/v3/streams/ You can pass the continuation key to get the next batch of results. For example: https://cloud.feedly.com/v3/streams/contents?streamId=feed/http://feeds.engadget.com/weblogsinc/engadget?continuation=14de41de03e:f7bda:87649ed8...

Copy Row if Sheet1 A contains part of Sheet2 C

rss,google-spreadsheet,google-docs,drive,advanced-search

See if this works: =query('GitHub-Changelog'!A:F; "where A contains '"&C1&"' ") where C1 (on the same sheet as the formula) is the cell that holds the date (ex: Fri Jun 12)....

Exception trying create a RSS Reader?

android,android-fragments,android-asynctask,rss

You have to move this part of code outside doInBackground() function and run it in UI Thread: // Binding data ArrayAdapter adapter = new ArrayAdapter(getView().getContext(), android.R.layout.simple_list_item_1, headlines); listRSS.setAdapter(adapter);` in onPostExecute() Moving only listRSS.setAdapter(adapter); is enough also but for the sake of clearance move the Adapter creation too...

Unexpected token while parsing Facebook RSS

c#,facebook,winforms,rss,.net-4.5

For anyone with same issue, I couldn't solve it using SyndicationFeed.Load() but with XDocument.Parse(xmlString) instead of.

Text to Speech RSS Feed Help C# WP 8

c#,visual-studio,windows-phone-8,rss

So I figured it out, here is the code: private void UpdateFeedList(string feedXML) { // Load the feed into a SyndicationFeed instance. StringReader stringReader = new StringReader(feedXML); XmlReader xmlReader = XmlReader.Create(stringReader); SyndicationFeed feed = SyndicationFeed.Load(xmlReader); Deployment.Current.Dispatcher.BeginInvoke(() => { // Bind the list of SyndicationItems to our ListBox. feedListBox.ItemsSource = feed.Items;...

Unable to configure Symfony (3rd party) bundle

php,symfony2,rss

I havent tried this bundle yet, but i think you need to tell doctrine that you want to save your newly created feed into the database: $feeds = new Feed; $reader->readFeed($url, $feeds, $date); $em = $this->getDoctrine()->getManager(); $em->persist($feeds); $em->flush(); return $this->render('default/index.html.twig'); UPDATE According to the docs if you want to use...

Rails: How can I parse an RSS file with Feedjira

ruby-on-rails,rss,feedjira

It's weird that Feedjira::Feed.fetch_and_parse url wasn't working for you. It's working perfectly fine for me. Here's how I did it. I'm using Railscasts RSS feed for example purpose: url = "http://railscasts.com/subscriptions/rZNfSBu1hH7hOwV1mjqyLw/episodes.rss" feed = Feedjira::Feed.fetch_and_parse url feed.entries.each do |entry| puts entry.title end ...

How can I parse an RSS feed using something other than PHP?

javascript,json,rss

I would create the file locally and then parse it. That way you can access it with either PHP or JavaScript later. Start with something like this: <?php $file = "/var/www/path_to_your/file.xml"; $data = file_get_contents("http://blog.everybodyedits.com/feed/"); file_put_contents($file, $data); $local_file_data = simplexml_load_file($file); //var_dump($local_file_data); //To parse foreach ($local_file_data as $key => $value) { echo...

How to access the attribute of a element when using rss in php

php,xml,twitter-bootstrap,rss

The issue is with the data you get back. When you view the XML, you will see: <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media= "http://search.yahoo.com/mrss/"> <channel> <atom:link href="http://www.gamereactor.se/rss/rss.php?texttype=4" rel="self" type="application/rss+xml" /> <title>Gamereactor Sverige Nyheter</title> <link>http://www.gamereactor.se</link> <description>Dagsfärska nyheter, tunga artiklar, intervjuer,...

my query rss didn't work

xml,rss,feed

The domain your XML is on appears to be down, or inaccessible by the general population, which is why the validator is saying the XML feed is unavailable at http://portalkbr.com/index.xml

Get img url from enclosure in rss feed

php,rss

Try looking at http://php.net/manual/en/domelement.getattribute.php to see how to fetch an attribute from a DOMElement. In this case you could use $node->getElementsByTagName('enclosure')->item(0)->getAttribute('url') to get the image URL. You could also try using SimpleXMLElement (see PHP documentation) which is a bit easier to use than DOMDocument (but as a trade-off also has...

Change value while clicking a tag

javascript,jquery,cordova,rss

The jsfiddle and code below will give you the feed address you are looking for on each click. There was an issue loading the jquery plugin, however I fixed this so it now works in jsfiddle. http://jsfiddle.net/048uc1ts/8/ - this should now be displaying the desired information. $(document).ready(function () { var...

Why isn't XMLFeedSpider failing to iterate through the designated nodes?

python,xml,rss,scrapy,scrapy-spider

You need to handle namespaces: class PLoSSpider(XMLFeedSpider): name = "plos" namespaces = [('atom', 'http://www.w3.org/2005/Atom')] itertag = 'atom:entry' iterator = 'xml' # this is also important See also: how do I use empty namespaces in an lxml xpath query? Working example: from scrapy.contrib.spiders import XMLFeedSpider class PLoSSpider(XMLFeedSpider): name = "plos" namespaces...

Equivalent to rss.itunes generator for Google Play

android,rss,google-play,itunes

I found two git repositories that do it for Android: Ruby Android Market Scraper (Google Play) Node.js Google play scraper ...

Error 400 'bad request' when trying to cURL RSS feed

php,http,curl,rss,feed

use http://www.safc.com/home/rss%20feeds/news%20feed check different between "Home" and "home" there is 301 redirect when you use "Home".

How can I grab all nodes from XML with PHP+mySQL?

php,mysql,xml,rss,eregi

You need to cast the value as a string when using simplexml. Try this : $Rsssurl_SQL="SELECT * from rss_feed_url"; $Rsssurl_RESULT=mysql_db_query($dbname,$Rsssurl_SQL); while ($Rsssurl_ROW=mysql_fetch_array($Rsssurl_RESULT)) { $request_url = $Rsssurl_ROW[1]; $xml = simplexml_load_file($request_url) or die(""); foreach($xml->channel->item as $item){ $title = (string) $item->title; $content = (string) $item->description; $date = (string) $item->pubDate; $link = (string) $item->link;...

XAML Binding data of an XML attribute and displaying its value

c#,xaml,data-binding,rss,xmlserializer

You're binding to something that doesn't exist - Title is a string in your model. You should change this so the deserialization can give you both the title and the attribute: public class Item { [XmlElement("title")] public Title Title { get; set; } [XmlElement("link")] public string Link { get; set;...

Prepending this PHP File

php,rss,prepend

If I understood you correctly and if you want to add content to the top of your file, you'd need to get the contents of it first; $content = file_get_contents("filename.rss"); Once you have the contents you can create new content like this; $data = "<item>" . "\r\n" . "<title>" ....

'Attempt to mutate immutable object with appendString:' error when parsing xml

ios,rss,nsmutablestring,nsxml

As you had taken the the NSMutableString you should replace your below code if([element isEqualToString:@"media"]){ imageLink = [[NSMutableString alloc] init]; imageLink = [attributeDict objectForKey:@"url"]; } with if([element isEqualToString:@"media"]){ imageLink = [[NSMutableString alloc] init]; [imageLink appendString:[attributeDict objectForKey:@"url"]]; } ...

Nasa Rss feed Sax parsing error

java,xml,rss,sax,saxparser

I finally found the answer to my question. link:"http://www.javaexperience.com/strip-invalid-characters-from-xml/" link:"https://commons.apache.org/proper/commons-lang/javadocs/api-3.1/org/apache/commons/lang3/StringEscapeUtils.html" The commons apache-lang-StringEscapeUitls library contains a method called unescapeHtml4 .It removes the html encoding characters like &#039 etc with 's and other equivalent characters.Just convert the URL inputstream to a string and use the unescapeHtml14 function to the string and...

Order output of elements

php,xml,rss

The echo statements for anchor tags <a> were wrong. I swapped $title with htmlspecialchars($reader->readString(), ENT_QUOTES). This should be what you wanted: $reader = new XMLReader(); $reader->open("http://blog.omer.london/feed/"); $title = ''; while ($reader->read()) { if ($reader->nodeType == XMLReader::ELEMENT && $reader->name == "title") { echo "<h1>Pøehled aktuálních zpráv ze serveru <a href='" ....

Need to Evaluate strlen of an XML

php,xml,rss,strlen

Im not sure what you want to achieve,anyway if you want to get the lenght of the string that represents the xml, you can do it like this: $xml = simplexml_load_file("feed-url-here"); if ($xml != "") { if (strlen($xml->asXML()) > 600) { perform some actions here; } } ...

Install ASP.NET 5.0 version of System.ServiceModel.Syndication

c#,.net,asp.net-mvc,visual-studio,rss

System.ServiceModel hasn't been ported to ASP.NET 5 yet so you can't use it as part of the core library. You should be able to include the reference for a standard aspnet50 project (Not core). { "commands": { "run": "run" }, "frameworks": { "aspnet50": { "dependencies": { "Microsoft.AspNet.Mvc": "6.0.0-beta2" }, "frameworkAssemblies":...

Retrieving RSS Feed from iTunes using cURL and PHP

php,ios,curl,rss,itunes

Well I got it working by adding to more curl_setopt() options. The full code now reads: $ch = curl_init("https://itunes.apple.com/podcast/id530114975"); curl_setopt($ch, CURLOPT_USERAGENT, "iTunes/12.1.1.4 (Windows; U; Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601) DPI/96"); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); Cheers........

Is there a way to parse external RSS Feeds with Jekyll?

parsing,rss,jekyll

Yes. You'd either want to create a plugin to fetch and parse the external feeds during jekyll build or, plan B, you could always fetch and parse the feeds client-side with AJAX. Since you asked for a Jekyll answer, here's a rough approximation of the former approach: # Runs during...

Free Monad to generate blog feed in Scala

scala,functional-programming,rss,free-monad

Not really, because XML isn't an interpretation; it's a data structure, it has denotational rather than just operational semantics[1]. So you can define your primitives, and have a tree of them, and transform that pure tree to... another pure tree representing the XML. There's no need for the monad, this...

Java RSS Feed Reader Android Studio

android,rss,feed

You should just be able to put it in a webview. How I do it is: package (INSERT STUFF HERE); import android.content.Intent; import android.os.Bundle; import android.provider.CalendarContract; import android.support.v4.app.FragmentActivity; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup;import android.os.Bundle; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.webkit.WebViewClient; public class (INSERT ACTIVITY) extends Activity {...

Android - RSS reader: URL forced to mobile address

android,rss

The site is most likely doing a redirection based on User Agent. You want to fool the site with a different user agent string. Try doing: conn.setRequestProperty("User-Agent", "The user agent you want to use"); You will want to use a user agent string that corresponds to a desktop browser. Check...

I want to use currency converter in my application,but i didn't get that xml url?

xml,rss,currency

I got one url like www.webservicex.net/currencyconvertor.asmx/ConversionRate?FromCurrency=USD&ToCurrency=INR from this url to i got converted value in xml format and used in my application....

Parse RSS modification

xml,parsing,rss

posts array contains also titles, so you just need to append them to the document body: var title = posts[i].title; var link = posts[i].link; document.body.innerHTML += '<h1>' + title + '</h1>'; document.body.innerHTML += '<p><a href="' + link + '">link</a></p>'; document.body.innerHTML += '<a href="' + link + '"><img src="' + img...

Generating Threaded RSS / ATOM Feeds

rss,rome,threaded-comments

There are ATOM Threading Extensions that will do the job. Atom Feeds will be displayed threaded in Thunderbird / Outlook when those are used. They should be pretty simple to implement for any RSS-Library. For rome i published a rome-module that can be used....

Getting value in rss feed using php

php,rss,domdocument

try this : $img = $item->getElementsByTagName('enclosure')->item(0)->attributes->getNamedItem('url')->value; ...

Output Google Spreadsheet to XML/RSS/Atom using Google AppScript Content Service

xml,google-apps-script,rss,google-spreadsheet,google-docs

getRange() function only assigns a range. You need to use getValues(). try changing title to this. var title = ss.getSheets()[0].getRange("A1:A").getValues();...

How to loop through Arrays created from XPath partial match to display the XML elements

php,xml,xpath,rss

$area should be an array of zero to many simplexml-elements, so use: foreach($area as $item) { echo "<h2>" .$item->title . "</h2>"; echo "<p>" . $item->pubDate . "</p>"; // and so on } see a working example: https://eval.in/319904 BTW, you should sanitize $searchKeyword to prevent any kind of harmful input, see...

Feed Validation SSL Error

wordpress,rss,feed,cloudflare

This is probably happening because the library being used by the feed validator service does not have support for the TLS ciphers being used by CloudFlare or due to this bug in OpenSSL. The feed validator uses Python and the regular validator is Perl. Most likely it is due to...

what is wrong with this SAX parsing and Xpath code?

java,xml,xpath,rss,sax

Just putting in the solution (which worked for me) in case any readers of the same book have the same problem. On page 38 (in my edition) - section 4.3 "Creating the Simple Weather Project", we are told to run this command: $ mvn archetype:generate -DgroupId=org.sonatype.mavenbook.custom DartifactId=simple-weather -Dversion=1.0 On my...

Delphi - Could not convert variant of type (Null) into type (OleStr)

delphi,rss,firemonkey

To avoid the error message do NullStrictConvert := false; // avoid NULL OLE conversion error...

How to Get SoundCloud RSS Download Stats via API?

api,rss,soundcloud

Looks like the stat-reporting direction at SoundCloud has changed, and RSS plays will be part of the overall play number and broken-out in other ways. https://www.soundcloudcommunity.com/soundcloud/topics/new-rss-stats-need-to-be-reflect-in-total-plays...

Youtube Video feeds link not working

iphone,rss,youtube-api

Google has stopped this API, you have to migrate to data API Version 3.0 check the link below for more details http://youtube-eng.blogspot.com/2015/04/bye-bye-youtube-data-api-v2.html...

Create RSS feed of a website that does not have RSS button

website,rss

I ended up right-clicking the page, selecting "View Source", and search for "RSS". Sure enough, it gave RSS url that I was able to use.

W3C validator given warning: No DOCTYPE found! for Kohana 3 Feed Class

xml,validation,rss,kohana,w3c

W3C’s Markup Validation Service is for (X)HTML, MathML, SVG, and SMIL documents. For validating feeds, you should use W3C’s Feed Validation Service. This won’t generate a warning for a missing DOCTYPE, which is not required in XML....

Validator w3 RSS Invalid - RSS not showing the feed by using PHP [duplicate]

php,xml,rss

If you are adding HTML to the feed, you should be using CDATA in order to make it work and to be valid. Here is some more info: https://amittechlab.wordpress.com/2011/03/02/use-cdata-in-rss-feed-to-add-html-and-links/...

Feed title appearing twice in wordpress responsive theme cyberchimps

php,wordpress,rss,wordpress-theme-customize

Thanks a lot everybody. I added the following code <style> h2 { display:none; } </style> in header.php and the error cleared out. Thank you all....

Is there a way to check update for particular npm package using rss/atom or other similar way?

node.js,rss,npm,atom

I've recently added a release atom feed to all packages on libraries.io, simply add /versions.atom to the end of any project page url, for example: https://libraries.io/npm/node-sass/versions.atom With npm modules it should never be more than 10 minutes delayed in showing the newest version....

How to implement an rss feed to a rails application using feedjira

ruby-on-rails,rss,feedjira

Ended up using the simple-rss and open-uri gems. I created a helper method in my pages controller: def feed require 'simple-rss' require 'open-uri' @rss = SimpleRSS.parse open('http://url_goes_here') @rss = @rss.items end That's the base method. I would recommend windows users of rails to really give simple-rss a shot. I was...

Update data from RSS with vbscript

vbscript,rss

To get you started, in vbscript you can Load the data into a DomDocument, as RSS is XML Option Explicit dim xmldoc: set xmldoc = CreateObject("MSXML2.DomDocument.6.0") xmldoc.async = false xmldoc.setProperty "SelectionLanguage", "XPath" xmldoc.load "https://www.cba.am/_layouts/rssreader.aspx?rss=280F57B8-763C-4EE4-90E0-8136C13E47DA" Run a query to get what you want using XPath ' obviously, you need to change...

Display Wordpress Content on another website

php,html,css,wordpress,rss

You should read the RSS Feed. Connect to a remote database is more costly. This code read the RSS feed and print the result: function getFeed($feed_url) { $content = file_get_contents($feed_url); $x = new SimpleXmlElement($content); echo "<ul>"; foreach($x->channel->item as $entry) { echo "<li><a href='$entry->link' title='$entry->title'>" . $entry->title . "</a></li>"; } echo...

Shopify blog feeding mailchimp campaign doesn't display images

image,rss,cdn,shopify,mailchimp

Just had the same problem, try this with the https:// https://cdn.shopify.com worked for me....

How to get custom data from wordpress RSS with SimplePie

php,wordpress,rss,simplepie

You should use the get_item_tags() function and use blank for the required namespace. For MY_IMAGE_FROM_RSS use $item->get_item_tags('','post-thumbnail')[0]['child']['']['url'][0]['data'] and for MY_PRICE_FROM_RSS use $item->get_item_tags('','price')[0]['data']...

Rss is not working in Google Chrome usin PHP MYSQL

php,mysql,google-chrome,rss

This is because chrome doesn't have an inbuilt RSS reader, you have to sue an extension.

Microsoft.XMLDOM - Facebook Page RSS - System error: -2147012866

xml,facebook,asp-classic,rss

Try using the latest version of Microsoft's XML processor. Replace your third line of code with: Set objXML = Server.CreateObject("Msxml2.DomDocument.6.0") I notice you don't appear to be outputting your XML node values, your just writing them to variables. If you're looping through a set of elements then the values of...

return RSS attribute values via BeautifulSoup

python,attributes,rss,beautifulsoup

Telling BeautifulSoup to use the lxml parser seems to keep self closing tags. Try using: soup = BeautifulSoup(handler, 'lxml') ...

Architecture/Design with Interfaces (Refactoring help)

c#,architecture,rss,solid-principles

Use generics: public interface IDataService { Task<List<T>> GetDataAsync<T>(string url, IParser<T> parser); } public interface IParser<T> { List<T> ParseRawData(string rawData); } Then your implementation looks like this: public class DataService : IDataService { public async Task<List<T>> GetDataAsync<T>(string url, IParser<T> parser) { // Do work return parser.ParseRawData("blah"); } } public class ItemParser...

How to handle received push notification from parse ? | RSS

objective-c,parse.com,push-notification,rss

All you have to do is set a generic key to your payload which in your case looks like title. So when you send a push (as data/payload/json), when user receives one you cross reference the valueForKey: As always, I highly encourage you try things out yourself because that's how...

Feedburner doesn't push RSS updates to Facebook Page

facebook,rss,feedburner

Try something like IFTTT which provides recipes triggered when your feed updates.

How can I make an RSS feed from Youtube search using Google App Script?

google-apps-script,rss,youtube-api,youtube-data-api,youtube-v3-api

So it would appear that my problem was the version of the published web app. I was not aware that not incrementing the version would cache the app as it was when it was first published under that revision. I noticed that code changes were showing up when I was...

How can stop rss parser after fixed numbers of items?

ios,objective-c,parsing,rss

Please use abortParsing method to stop parsing. if (itemCount >= 10) { [parser abortParsing]; parset.delegate = nil; } else { itemCount++; } ...

Array JSON deserialize

c#,json,list,rss

The error you're getting has nothing to do with JSON. It is because you're trying to create an instance of an interface. You could just fix that by giving it the concrete List<T> class: IList<News> content = new List<News>(); However, the simpler way of converting the IList<JToken> to an IList<News>...

How to get first image from a tumlbr rss feed in PHP

php,xml,xpath,rss,tumblr

You can get it from the description, which seems to include a HTML image tag for the image, by using a simple regular expression with preg_match: $content = file_get_contents("http://xxx.tumblr.com/rss"); $feed = new SimpleXmlElement($content); $img = (string)$feed->channel->item[0]->description; if (preg_match('/src="(.*?)"/', $img, $matches)) { $src = $matches[1]; echo "src = $src", PHP_EOL; }...

RssDisplay Extension / Simple Pie

rss,typo3,fluid,simplepie

One way to do this, is to create a fluid variable author and assign the author object to it. Then you can access the name using {author.name}. To create a variable, you could use the ViewHelper <f:alias>, like this: <f:alias map="{author: '{feed:item.get(value: \'author\')}'}"> {author.name} </f:alias> Another way would be to...

Hide Shortcodes From Wordpress RSS Feed

wordpress,rss,feed,shortcode

You will need to alter how the RSS is output. All the RSS styling files are located in the wp-includes folder and are titled as follows: feed-rss2.php feed-rss.php feed-rdf.php feed-atom.php feed-atom-comments.php feed-rss2-comments.php Then within these files, you need to find where it calls the function the_excerpt_rss(). This calls out the...

XMLException when processing RSS

c#,xml,rss,argotic

It seems ignoring the DtdProcessing solved my problem. settings.DtdProcessing = DtdProcessing.Ignore; ...

Parse RSS with groovy

parsing,groovy,rss,xmlslurper

You can tell XmlSlurper and XmlParser to not try to handle namespaces in the constructor. I believe this does what you are after: 'http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml'.toURL().withReader { r -> new XmlSlurper(false, false).parse(r).channel.item.each { println it.title println it.description } } ...

Android database crashing

java,android,database,crash,rss

The problem is you are creating an Activity yourself (HandleXML) and using that as the context needed by your DatabaseHelper: handleXML = new HandleXML("http://examplewebsite/file.xml"); Inside HandleXML: public HandleXML(String url) { helper = new DatabaseHelper(this); // <-- PROBLEM: this does not have Context info this.urlString = url; } You should never...

Rss feed changes url to items

rss

Do you not use item's id as an unique identifier? // Item object $feed->items[0]->getId(); // Item unique id (hash) Picofeed probably creates the hash of the unique id from RSS item's guid or if guid is missing they use the link url like you do. Usually feed creators add guids...

creating rss with using scrapy

python,rss,scrapy,pipeline

Use a to append, your are overwriting each time using w so you only get the last piece of data: rss.write_xml(open("pyrss2gen.xml", "a")) If you look at the original code you can that also uses a not w. You might want to use with when opening files or at least closing...

Synchronize 2 online RSS readers

automation,rss,rss-reader,digg,feedly

What you're looking at would be "OPML subscriptions"... but AFAIK, this does not exist in neither Feedly nor Digg. Now, another "trick" would work and provide the same "result", even though this is not exactly what you're looking for. If you use a service to "combine" these feeds and generate...

Show only headers in Octopress RSS

rss,jekyll,octopress

In feed.xml, instead of using post.content, you can use post.excerpt. Two solutions : 1 - Using octopress setup Add a <!-- more --> in your posts to mark the limit between post.excerpt and post.content. content still contains both. 2 - Using Jekyll default Remove this line excerpt_separator: <!--more--> from your...