Cannot include path=functions.xml

  • Jeffn

    Jeffn - 2012-06-29

    Hi. I am just getting started with Webharvest. I am adapting the canon product
    example. I made a few changes nowhere near the include statement, and now I am
    getting an error at the include statement..<include path="functions.xml"/>

    Can someone help?



  • Selvin Fehric

    Selvin Fehric - 2012-06-30

    Put functions.xml file where your configuration file is located.

  • Anonymous - 2012-07-23

    download it to you pc

  • jomy nn

    jomy nn - 2016-07-15

    Please download and extract this file
    or using this code

    <?xml version="1.0" encoding="UTF-8"?>

    Download multi-page list of items.

        @param pageUrl       - URL of starting page
        @param itemXPath     - XPath expression to obtain single item in the list
        @param nextXPath     - XPath expression to URL for the next page
        @param maxloops      - maximum number of pages downloaded
        @return list of all downloaded items
    <function name="download-multipage-list">
            <while condition="${pageUrl.toString().length() != 0}" maxloops="${maxloops}" index="i">
                    <var-def name="content">
                            <http url="${pageUrl}"/>
                    <var-def name="nextLinkUrl">
                        <xpath expression="${nextXPath}">
                            <var name="content"/>
                    <var-def name="pageUrl">
                        <template>${sys.fullUrl(pageUrl.toString(), nextLinkUrl.toString())}</template>
                <xpath expression="${itemXPath}">
                    <var name="content"/>


    Last edit: jomy nn 2016-07-15

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks