Skip to main content

Home/ Scripters/ Group items tagged news

Rss Feed Group items tagged

Jac Londe

RSS Search Engine - Find Feeds with Instant Search - 0 views

shared by Jac Londe on 04 Feb 15 - No Cached
  •  
    The RSS search engine will help you discover the most popular feeds on the web around your favorite topics. You may find blogs, news websites, podcasts, Twitter accounts and more.
Jac Londe

Parsing HTML using Javascript - 0 views

  • Ive written a small js application that gets html content as a string (this only has to work in mozilla)
  • req = new XMLHttpRequest(); req.open('GET', URI, true); req.onreadystatechange = function (aEvt) { if (req.readyState == 4) { if(req.status == 200){ var myTxt = req.responseText;
  • This works fine - myTxt contains the html code as a string. However I want to be able to parse the code using the DOM... Is there a way to create an HTML DOM in Javascript easily?
  • ...1 more annotation...
  • var myTxt = req.responseXML.documentElement; alert(myTxt.getElementsByTagName("XMLElementName")[0].firstChild.data);
Jac Londe

Feeds HTML Parser for Node Creation | Drupal.org - 0 views

  • Feeds HTML Parser for Node Creation
  • I currently have a Drupal site set up and am using the Feeds module (http://drupal.org/project/feeds) to create CCK nodes from a few RSS feeds. This is a standard use case of that module, at least as far as I know.
  • The need has arisen for the ability to also create content from non-RSS/non-XML sources. I need a new Parser created for the Feeds module that would allow for one to populate CCK fields based on the parsing of raw HTML content. My first thought is that the user should be allowed to define a regular expression for each field, with the field then being populated by the output of the regular expression applied to the raw HTML content. However, I am open to suggestions on different solutions which might be easier for the developer.
1 - 4 of 4
Showing 20 items per page