Mozilla Skin
Translate this page


Details Node

From Moving Pictures

The details node is a required node for any scraper. This node has several children nodes that must also be present in order for the scraper engine to load it. The required children nodes for details are as follows:

Node Name Node Description Additional Information
name This is the name that you want to call your scraper. It is usually a good practice to name it something meaningful such as the data source you are scraping.
author This is the writer of the script (That would be you).
description This is the place where you would put a short summery of your scraper
id This is a 6 digit number that uniquely identifies your scraper. This number cannot be the same as any other scraper.
version This node has three attributes which are used to define the version of your script. This number must be changed with every release of your script. The attributes are as follows: major, minor, point
published This node also has three attributes, but these are used to define the date of release for your script. The attributes are as follows: month, day, year
type This node houses a pipe delimited list that tells the scraper engine what kind of scraper this is. The applicable types are as follows: MovieDetailsFetcher, MovieCoverFetcher, MovieBackdropFetcher
language This node tells the scraper engine what language this scraper is designed to return. Language Codes


Example

<details>
    <!-- These details are for display purposes only. -->
    <name>FilmWeb.pl</name>
    <author>LRFalk01</author>
    <description>This script pulls data from FilmWeb.pl.</description>
    
    <!-- 
    These fields uniquely identify the script. The ID should never 
    change and should be unique (no other script should use this ID). With
    new versions of the script the version numbers should change. EVEN FOR 
    MINOR CHANGES, you should change the version number if you are going to
    disribute it to anyone but internal testers. The point number 
    is for minor bug fix releases. Use it.
    -->
    <id>141516</id>
    <version major="0" minor="0" point="3"/>
    <published month="1" day="28" year="2009"/>
    
    <!--
    These fields are used for categorization purposes. Seperate multiple 
    types with a pipe | character.
    -->
    <type>MovieDetailsFetcher|MovieCoverFetcher</type>
    <language>pl</language>

</details>