[RELEASE] Scraper Editor (Based on ScraperXML open source C# Library) - Help wanted!
#25
spiff Wrote:for some reason episodeguide seems to do a linear processing of several url's. there is no reason why i wrote it like this, old old code. i should change it to follow the same rules.

the point of include are that after load, it would be just as if the function resided in the same xml main scraper. that's why i say inject. it's trivial in tinyxml;

Code:
// inject includes
        const TiXmlElement* include = m_pRootElement->FirstChildElement("include");
        while (include)
        {
          if (include->FirstChild())
          {
            CStdString strFile = CUtil::AddFileToFolder(strPath,include->FirstChild()->Value());
            TiXmlDocument doc;
            if (doc.LoadFile(strFile))
            {
              const TiXmlNode* node = doc.RootElement()->FirstChild();
              while (node)
              {
                 m_pRootElement->InsertEndChild(*node);
                 node = node->NextSibling();
              }
            }
          }
          include = include->NextSiblingElement("include");
        }

and can't be that much harder with your xml parser?

ah, actually that's going to be pretty easy to work with. The harder problem is going to be that now i have to make it so the program using scraperxml reports all load all common functions or keep track of them to report to the scraper code or have to rewrite code so that the scraperxml does all the management of scrapers.
ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers


I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you!

Image
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average


Messages In This Thread
[No subject] - by spiff - 2009-06-16, 00:14
[No subject] - by DonJ - 2009-06-16, 00:46
[No subject] - by zag - 2009-06-16, 10:13
[No subject] - by Nicezia - 2009-06-17, 00:38
[No subject] - by C-Quel - 2009-06-17, 00:45
Nice Nicezia! - by Gamester17 - 2009-06-17, 12:11
[No subject] - by DonJ - 2009-06-17, 12:38
[No subject] - by Nicezia - 2009-06-18, 18:10
[No subject] - by Nicezia - 2009-06-20, 21:28
[No subject] - by DonJ - 2009-06-21, 13:40
[No subject] - by Nicezia - 2009-06-23, 00:34
[No subject] - by Nicezia - 2009-06-27, 23:46
[No subject] - by Eso Rimmer - 2009-07-18, 09:02
[No subject] - by Nicezia - 2009-07-18, 17:34
[No subject] - by Daniel Malmgren - 2009-07-20, 19:03
[No subject] - by Nicezia - 2009-07-21, 21:24
[No subject] - by spiff - 2009-07-28, 00:43
[No subject] - by spiff - 2009-07-28, 01:24
[No subject] - by Nicezia - 2009-07-28, 02:20
[No subject] - by spiff - 2009-07-28, 09:29
[No subject] - by spiff - 2009-07-28, 23:45
[No subject] - by Nicezia - 2009-07-29, 03:20
[No subject] - by Nicezia - 2009-08-04, 04:25
[No subject] - by seedzero - 2009-08-04, 04:38
[No subject] - by Nicezia - 2009-08-04, 05:19
[No subject] - by seedzero - 2009-08-04, 06:47
[No subject] - by spiff - 2009-08-04, 09:40
[No subject] - by seedzero - 2009-08-04, 09:58
[No subject] - by Nicezia - 2009-08-04, 10:20
[No subject] - by spiff - 2009-08-04, 10:33
[No subject] - by Nicezia - 2009-08-04, 12:45
[No subject] - by spiff - 2009-08-04, 12:49
[No subject] - by seedzero - 2009-08-04, 22:58
[No subject] - by spiff - 2009-08-04, 23:03
[No subject] - by Daniel Malmgren - 2009-08-12, 18:56
[No subject] - by Nicezia - 2009-08-12, 21:20
[No subject] - by Daniel Malmgren - 2009-08-12, 21:41
[No subject] - by Nicezia - 2009-08-12, 23:17
[No subject] - by Daniel Malmgren - 2009-08-13, 07:46
[No subject] - by flobbes - 2009-08-28, 09:46
[No subject] - by Daniel Malmgren - 2009-08-28, 19:09
[No subject] - by flobbes - 2009-08-28, 20:16
[No subject] - by Nicezia - 2009-08-29, 04:56
[No subject] - by jurr - 2009-09-07, 13:29
[No subject] - by Nicezia - 2009-09-07, 20:14
[No subject] - by Nicezia - 2009-09-07, 20:17
[No subject] - by Daniel Malmgren - 2009-09-27, 12:41
[No subject] - by Nicezia - 2009-10-06, 00:19
version 3.5 Release - by Nicezia - 2009-10-11, 11:38
[No subject] - by Daniel Malmgren - 2009-10-11, 16:26
[No subject] - by Nicezia - 2009-10-12, 03:27
[No subject] - by Daniel Malmgren - 2009-10-12, 19:28
[No subject] - by Nicezia - 2009-10-13, 19:38
[No subject] - by flobbes - 2009-10-16, 18:57
[No subject] - by seedzero - 2009-10-16, 19:03
[No subject] - by fekker - 2009-10-17, 01:56
[No subject] - by seedzero - 2009-10-17, 02:22
[No subject] - by seedzero - 2009-10-17, 13:16
[No subject] - by KoTiX - 2009-10-17, 19:55
[No subject] - by fekker - 2009-10-17, 19:56
[No subject] - by SantaFox - 2009-10-20, 14:34
[No subject] - by Nicezia - 2009-10-24, 00:13
[No subject] - by flobbes - 2009-10-28, 13:28
[No subject] - by Nicezia - 2009-10-28, 16:41
[No subject] - by Nicezia - 2009-10-28, 16:42
[No subject] - by flobbes - 2009-10-28, 17:05
[No subject] - by Nicezia - 2009-10-28, 17:08
[No subject] - by Nicezia - 2009-10-28, 17:10
[No subject] - by KoTiX - 2009-10-29, 00:03
[No subject] - by Nicezia - 2009-10-31, 03:42
[No subject] - by KoTiX - 2009-10-31, 10:04
[No subject] - by Nicezia - 2009-10-31, 17:23
[No subject] - by KoTiX - 2009-10-31, 17:35
[No subject] - by Nicezia - 2009-10-31, 19:10
allmusic.xml - by michael1t - 2009-11-05, 17:54
[No subject] - by Nicezia - 2009-11-05, 20:37
New Version Soon! - by Nicezia - 2009-12-20, 03:29
[No subject] - by MukiDA - 2009-12-20, 07:26
[No subject] - by MukiDA - 2009-12-23, 00:40
[No subject] - by Nicezia - 2009-12-23, 02:03
No Editor source in SVN? - by hojel - 2009-12-24, 08:00
[No subject] - by Nicezia - 2009-12-24, 11:26
[No subject] - by hojel - 2009-12-24, 13:02
[No subject] - by MukiDA - 2009-12-24, 15:20
[No subject] - by hojel - 2009-12-24, 23:25
[No subject] - by Nicezia - 2009-12-25, 01:29
[No subject] - by DuMbGuM - 2009-12-29, 06:07
[No subject] - by Nicezia - 2009-12-29, 22:31
[No subject] - by DuMbGuM - 2009-12-30, 01:45
[No subject] - by wikid - 2010-01-05, 19:34
[No subject] - by flobbes - 2010-01-27, 14:32
[No subject] - by Nicezia - 2010-01-28, 18:58
[No subject] - by flobbes - 2010-01-28, 20:39
[No subject] - by Nicezia - 2010-01-28, 23:51
[No subject] - by flobbes - 2010-01-29, 01:10
[No subject] - by Nicezia - 2010-01-29, 03:48
[No subject] - by Nicezia - 2010-01-29, 05:52
[No subject] - by flobbes - 2010-01-29, 13:00
[No subject] - by Nicezia - 2010-01-29, 21:28
[No subject] - by flobbes - 2010-01-30, 18:36
[No subject] - by Nicezia - 2010-01-30, 19:26
[No subject] - by flobbes - 2010-01-30, 23:23
[No subject] - by takoi - 2010-02-06, 15:57
[No subject] - by filigran - 2010-02-07, 00:07
[No subject] - by Nicezia - 2010-02-08, 04:38
[No subject] - by Nicezia - 2010-02-08, 04:55
[No subject] - by filigran - 2010-02-08, 23:18
[SOLVED] repeat function - by drascom - 2010-04-16, 15:47
[No subject] - by Nicezia - 2010-05-29, 20:16
[No subject] - by Nicezia - 2010-06-03, 02:45
[No subject] - by olympia - 2010-06-03, 16:52
[No subject] - by spiff - 2010-06-03, 16:55
[No subject] - by olympia - 2010-06-03, 17:22
[No subject] - by spiff - 2010-06-03, 17:24
[No subject] - by Nicezia - 2010-06-03, 22:32
[No subject] - by Nicezia - 2010-06-03, 22:34
[No subject] - by olympia - 2010-06-06, 16:10
[No subject] - by Nicezia - 2010-06-07, 02:56
[No subject] - by Nicezia - 2010-06-10, 20:41
Help Request: - by Nicezia - 2010-06-14, 03:05
[No subject] - by jmarshall - 2010-06-14, 04:52
[No subject] - by Nicezia - 2010-06-14, 06:12
[No subject] - by jmarshall - 2010-06-14, 06:38
[No subject] - by Nicezia - 2010-07-03, 23:51
[No subject] - by UsagiYojimbo - 2010-07-16, 20:21
[No subject] - by Nicezia - 2010-07-17, 00:41
[No subject] - by UsagiYojimbo - 2010-07-18, 20:26
[No subject] - by Nicezia - 2010-10-05, 00:23
[No subject] - by flobbes - 2010-10-05, 21:38
[No subject] - by Nicezia - 2010-11-28, 00:41
[No subject] - by UsagiYojimbo - 2011-03-07, 17:40
[No subject] - by mortstar - 2011-03-31, 02:53
[No subject] - by akuiraz - 2011-04-06, 08:20


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Scraper Editor (Based on ScraperXML open source C# Library) - Help wanted!51