Copied to clipboard

Flag this post as spam?

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


  • Eran Meir 401 posts 543 karma points
    Dec 02, 2010 @ 16:54
    Eran Meir
    0

    Getting documents id from shelf (Issuu Provider)

    hi i'm using the issuu provider and i'm trying to figure out if theres an option to get all the document ids of "Public (all)"

    i want to print out all the document ids i have upload to issuu, is there a way to do it ?

  • René Pjengaard 117 posts 700 karma points c-trib
    Dec 03, 2010 @ 09:47
    René Pjengaard
    0

    Hi Eran,

    i just made a new provider package with that option. Could you please give me your emailaddress, and i´ll send it to you for testing.

     

    /Regards
    René

  • Eran Meir 401 posts 543 karma points
    Dec 03, 2010 @ 14:06
    Eran Meir
    0

    [email protected]

    thank you.

  • Eran Meir 401 posts 543 karma points
    Dec 03, 2010 @ 16:40
    Eran Meir
    0

    i want to implement a search option for my project i'm working on, i would like to help implement it on the provider and share it afterwards with the community. i searched on codeplex for the source code but couldn't find it. where can i get it ?

  • René Pjengaard 117 posts 700 karma points c-trib
    Dec 03, 2010 @ 21:50
    René Pjengaard
    0

    Hi Eran,

    i have send you the new improved package. About the sourcecode, i´ll put it on codeplex monday.

    Cheers
    René

  • Matt Brailsford 4123 posts 22194 karma points MVP 9x c-trib
    Dec 07, 2010 @ 22:22
    Matt Brailsford
    0

    Hey Eran,

    I'd be interested to know how you are thinking of adding search functionality? The idea behing UMP is really to provide a simple way for creating and selecting media, and providing a simple interface for developers to create new pickers with. My concern with adding search facilities to UMP itself is that it could over complecate what is currently super simple. That being said, I would like to hear your thoughts.

    Cheers

    Matt

  • Eran Meir 401 posts 543 karma points
    Dec 07, 2010 @ 23:31
    Eran Meir
    0

    hey, i thought i could do a filter for getting documents by user, but i see this is not possible with the search api of issuu. in the end i got all the documents and checked each one with regular expressions, 

    on another subject, is there a reason why GetDocuments get only 10 documents ? it happens also on the umbraco admin interface when i select a document.

    and also i would like to add more options for getembedcode like "Starting page" and the option for choosing themes. those are flash parameters, i would like to help implement those options, unless you want to do it yourself.

    tell me what you think.

    Eran.

  • René Pjengaard 117 posts 700 karma points c-trib
    Dec 08, 2010 @ 11:18
    René Pjengaard
    0

    Hi Eran,

    about the embed code, why don´t you just write your own? You have all the data you need in the issuu:GetDocument method. In my opinion this is not something you need to implement in the provider, as every one have different needs.

    Regarding the 10 documents, i just found out, that the Issuu API has a pageSize attribute, which by default is 10. You can set it to a value between 0 - 30. But that may not be enough for you. Then you´ll have to make pagination http://issuu.com/services/api/issuu.document.list.html.

    regards
    René 

  • Eran Meir 401 posts 543 karma points
    Dec 08, 2010 @ 11:58
    Eran Meir
    0

    where can i config the value of pageSize ?

  • Eran Meir 401 posts 543 karma points
    Dec 08, 2010 @ 21:38
    Eran Meir
    0

    also, how can i config the provider to show the lastest documents, right now it select the first 10 documents on the shelf, but its useless after a while because i want to select newer documents. what do you think?

  • Eran Meir 401 posts 543 karma points
    Dec 22, 2010 @ 20:08
    Eran Meir
    0

    i would really appreciate to know what you're thinking Rene

     

  • René Pjengaard 117 posts 700 karma points c-trib
    Dec 23, 2010 @ 08:36
    René Pjengaard
    2

    Hi Eran,

    you can download the sourcecode here: http://umpp4umb.codeplex.com/SourceControl/list/changesets

    and then you can modify the api-call to Issuu to fit your needs. f.ex. there is a request parameter called "documentSortBy" and one called "pageSize". I think that should help you.

    Cheers
    René

  • René Pjengaard 117 posts 700 karma points c-trib
    Dec 23, 2010 @ 08:36
    René Pjengaard
    0

    Ups, i forgot to post the link to the Issuu request parameters: http://issuu.com/services/api/issuu.document.list.html#responseparameters

  • Eran Meir 401 posts 543 karma points
    Dec 23, 2010 @ 13:17
    Eran Meir
    0

    oh sweet, the source code is up. thank you, that will help. and thank you for your help !

Please Sign in or register to post replies

Write your reply to:

Draft