• Resolved kungl

    (@kungl)


    Hi,

    I would like to upload and delete stories (it would be better to add an expiration date) on a larger scale. How can I do that? What’s the easiest way? I tried to modify the HTML in post_content directly, but it’s useless without the post_content_filtered, which I don’t know how to generate.

    Please advise!
    Thanks,
    kungl

    • This topic was modified 3 years, 1 month ago by kungl.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there

    Thanks for raising this excellent question!

    Could you perhaps tell us a little bit about your use case for mass creating stories? Do you want generate them automatically somehow but then be able to edit them in the editor?

    We don’t yet offer an API to do that, but we’re working on publishing some npm packages that would get you closer to this goal.

    But if you don’t need to be able to edit them later on, you could also look into other ways of generating the stories in the meantime, for example by creating the necessary markup yourself.

    Thread Starter kungl

    (@kungl)

    Hi,

    my use case: All stories will be the same: 1 background image, 1 text box, 1 link. After the upload, I would like to show these pictures for only 24 hours and delete them.

    I created a markup and inserted it directly into the database (post_content column). As I see the editor can’t handle the changes. It’s not a problem for me, because I don’t want to use an editor. I’m creating the markup with python and looks good because the stories changed on a correct permalink.

    I will move forward with this, but I’m waiting for your npm solution.

    For the summary:
    With this method, you can work with fully automated stories, but you will lose the editor.

    Thanks for the help!

    • This reply was modified 3 years, 1 month ago by kungl.
    Plugin Author Pascal Birchler

    (@swissspidy)

    If your current solution works fine then there’s no need to change things I suppose. ??

    Although it sounds like you don’t really need this plugin for your use case. You could just upload static HTML files to your site instead.

    The npm solution would just help you by making it a little bit easier to create the markup, but given that your stories are not complex, you don’t really need it as it will just make things more complicated.

    Thread Starter kungl

    (@kungl)

    I need your plugin because as I read I can easily add Google AdSense and it makes my life easier. ??

    Anyway thanks for your cooperation!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mass upload / API’ is closed to new replies.