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 ?
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.
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.
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.
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?
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.
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 ?
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é
[email protected]
thank you.
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 ?
Hi Eran,
i have send you the new improved package. About the sourcecode, i´ll put it on codeplex monday.
Cheers
René
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
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.
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é
where can i config the value of pageSize ?
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?
i would really appreciate to know what you're thinking Rene
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é
Ups, i forgot to post the link to the Issuu request parameters: http://issuu.com/services/api/issuu.document.list.html#responseparameters
oh sweet, the source code is up. thank you, that will help. and thank you for your help !
is working on a reply...