![]() |
|
|||||||
| Scraper Development Developers forum for meta data scrapers. Scraper developers only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Fan
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
![]() |
Only reason Why I ask is because i'm developing a scraper editor/tester for the current format of the XML...
Sneak Peek: ![]() So far its awfully simple but foran amateur programmer behind the scenes its pretty complex. I've already implemented all of the options in the class (minus the custom functions which I'm having a difficult time wrapping my headd around just how i want to go about implementing those, and so far nesting RegExp's is not exactly as complex as the actual XML allows) But if I follow my todo list it should be able to create the simpler movie scrapers by Thursday or Friday... So again my question is, do you foresee me having to relearn the structure of your scraper XML anytime in the next few months? |
|
|
|
|
|
#2 |
|
Member
Join Date: Feb 2009
Posts: 96
![]() |
Hi,
it seems you could read my mind. I'm really looking forward to your editor ![]() Thanks in advance Schenk |
|
|
|
|
|
#3 |
|
Team-XBMC Developer
Join Date: Jan 2008
Location: Germany
Posts: 1,280
![]() |
Cool. Nope, scrapers won't change except of regexp stuff, but the layout (backend) willl most likely stay the same. Any plans of making it for other platforms as well? Maybe MONO is the way to go.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#4 |
|
Fan
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
![]() |
Yeah, actually I've just made a copy of the class written in c++ considering my C++ isn't really up to par, the c++ version may be a little longer in the making...
but doing it in visual basic for now is giving me insight eough to be able to visualize how to port it to c++ (sans .NET). the only real problem i see so far in making it cross platform is A) breaking my reliance on linq.... (but linq makes XML so easy....) B) I have no experience in building a gui without visual studio designer (i am looking into information on x-windows programming though) I'll look into cross platforming & particularly Mono as soon as i can get a working version out, first things first. |
|
|
|
|
|
#5 |
|
Team-XBMC Python Coder
Join Date: Jan 2008
Location: US
Posts: 1,299
![]() |
Looks cool!
I started writing a tester in python, but haven't gotten very far with it. If you know any python maybe we could work together? I don't have any experience with c#/c++ so I wouldn't be much help there. Also, IMO a GUI for writing scrapers isn't really necessary. It is nice, but being crossplatform is nicer Editing the scraper's XML directly isn't hard if you have a simple way to test it.
__________________
Always read the XBMC online-manual, FAQ and search and search the forum before posting. For troubleshooting and bug reporting please read how to submit a proper bug report. If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/ |
|
|
|
|
|
#6 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,714
![]() |
great stuff!
the scraper xml format will not change, however i will change the default to matching regular expressions case insensitive and add a tag to indicate sensitive matching (see #6262). also i plan some minor changes on the returned xml format, but that doesn't really matter for you. the key to the nesting stuff and other functions is recursive code (see CIMDB::InternalGetDetails).
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#7 | ||
|
Fan
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
![]() |
Quote:
As for python, that's my next area of study, (thinking about making a python plugin for XBMC for libpurple so instant messaging can be integrated into XBMC) Quote:
Last edited by Nicezia; 2009-04-25 at 23:09. |
||
|
|
|
|
|
#8 |
|
Team-XBMC Python Coder
Join Date: Jan 2008
Location: US
Posts: 1,299
![]() |
What are your thoughts on this thing working crossplatform? Will you be able to get away from linq? Can you make the gui and backend seperate so that it can be run from a command line?
I need to know whether to continue with my python implementation or not... linux & osx users could use a similar tool as well
__________________
Always read the XBMC online-manual, FAQ and search and search the forum before posting. For troubleshooting and bug reporting please read how to submit a proper bug report. If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/ |
|
|
|
|
|
#9 | |
|
Fan
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
![]() |
Quote:
When it gets to that point however i might need some help as far as setting it up so that it can compile in different enviornments (makefiles and all that since i have never worked with compiler options before .. my only programming experience is with Visual Studio flavors... ) I'm going to switch the entire project to Mono as suggested as soon as i finish coding it in Visual Basic... seeing as it has Linux & Mac implementations that should solve the cross platforming problem effectively. It would be shortsighted of me not to make it cross platform, since i actually use XBMC through my Linux box. Last edited by Nicezia; 2009-04-25 at 23:44. |
|
|
|
|
|
|
#10 |
|
Fan
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
![]() |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| scraperxml |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|