List Info

Thread: Creating a new story.




Creating a new story.
user name
2006-11-08 20:21:13
If I understand. I can leave the uuid="" blank

Thanks...

On 11/8/06, Scott Lanning <lanningswho.int> wrote:
> On Tue, 7 Nov 2006, Chauncey Thorn wrote:
> > I'm working to integrate AP feeds and trying to
get bric_soap to
> > create a new story...
> >
> > Investigating I first tried to figure out how to
get the next story ID
> > available...
> > ./bric_soap --username username --password
password --server
> > http://localhost:8080/
story list_ids -- search "site=SITENAME"
> >
> > Then to test I exported a story -> changed the
"story id" to reflect
> > the next Id that would be used..
>
> Whenver you create a story, an ID is automatically
assigned.
> Just leave the ID blank.
>
> <?xml version="1.0"
encoding="UTF-8" standalone="yes"?>
> <assets xmlns="http://bricolage.sourceforge.net/assets.xsd">
>   <story id=""
element="whatever">
>   <!-- etc... -->
>
> You can capture the new ID when the story is created
> with bric_soap, or later you can use list_ids
> to get its ID if you want to edit it (for update,
> you do need the ID).
>
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )