Log in | Register | Lost password

Bottom
auto creation of publications without maually inputting?
  • Posted: 06.11.2008, 21:07
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Here's one...

    Is it possible to create a publication and submit it without having to manually fill in the fields?

    Let's say I have a file (csv) or a table in my DB with 1000 rows and 2 fields in each row; "name" "age" I wouldn't want to have to manually create 1000 publications-that would kill me... Is there a way that I can automate the publication creation process whereby each row in the csv or table would create a publication with the fields; "word" "number" and submit it to the db?

    Correct me if I'm wrong but do I recall that simply inserting the data into the pagesetter_pubdata table wreaks havoc on the revisions system and well, just doesn't work. (though I believe through a lot of manual mysql work you can correct this...)

    Can I call something like (I know this is old code from the online manual...)

    Code

    <!--[module=pagesetter func=pubedit tid=T word="blah" number="bleh"]-->
    but have it auto submit?

Template courtesy of Designs By Darren.