Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Tillebeck 15 posts 36 karma points
    Jan 13, 2010 @ 18:26
    Anders Tillebeck
    0

    Auto create nodes using XSLT (or other)

    Hello

    I have a bunch of files in a folder called:

    20100110.xls (for date 10th og January 2010)
    20100111.xls (for date 11th og January 2010)
    etc. etc.

    How can I automatically have these turned into nodes based on a doctype with a date and a fileupload? Is that possible in any way otherwise I know what to do the next many evenings (create nodes and upload files, one at the time).

    I guess it can be done using C# but my own skill are limited to XSLT, therefore the question goes into this category.

    Br. Anders

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 13, 2010 @ 18:37
    Lee Kelleher
    0

    Hi Anders,

    Take a look at UmbImport.

    http://our.umbraco.org/projects/umbimport

    If you can export your Excel files to CSV, then import to Umbraco (using UmbImport) should be straight-forward (and stress-free).

    Good luck, Lee.

  • Anders Tillebeck 15 posts 36 karma points
    Jan 13, 2010 @ 18:57
    Anders Tillebeck
    0

    Thanks. You think it will work with an "Upload" filed to? So I just map the path to the file that soulf be uploaded (place path in CSV) and then the file is uploaded and everything?

    Just ask since you sounds like you have some experience with the package ;-)

    BR. Anders

  • Anders Tillebeck 15 posts 36 karma points
    Jan 13, 2010 @ 19:05
    Anders Tillebeck
    0

    How about mass upload of media files to a folder in the media section? Is there a tool for that? I just thought of a solution where that would do the trick.

    Br. Anders

  • Anders Tillebeck 15 posts 36 karma points
    Jan 13, 2010 @ 19:13
    Anders Tillebeck
    0

    I came across this one. That may do the trick for the mass file uplad:

    http://forum.umbraco.org/yaf_postst5842_Mass-Media-Upload.aspx

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 13, 2010 @ 19:30
    Lee Kelleher
    0

    Hi Anders,

    Yes, for the multiple media upload, try the Multiple File Upload package:

    http://our.umbraco.org/projects/multiple-file-upload

    (If you run into any problems with it, you may need to apply the v1.1-quickfix patch).

     

    As for the "Upload" field... I'm not 100% sure, best bet is to ask Richard Soeteman (the UmbImport developer) on the Using UmbImport forum.

     

    Good luck, Lee.

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Jan 13, 2010 @ 20:26
    Richard Soeteman
    0

    Hi Anders,

     

    Currently umbImport can only map "simple" fields. So fields are retrieved from the datasource and put in the document type, if this fails an error is raised (and handled). I have plans to improve this mechanism in a next release, probably 1.1. This mechanism will try to convert the data if it can't be imported directly.

     

    Unfortunately that is probably to late for you. If you want to import media I suggest that you take a look at the zip upload package which can be found here http://our.umbraco.org/projects/zip-upload source code can be found here  http://www.nibble.be/?p=55

      

    Cheers,

     

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft