cancel
Showing results for 
Search instead for 
Did you mean: 

offline blog entry creation & upload

cszamudio
Champ on-the-rise
Champ on-the-rise
Hi,

I have a requirement to support offline blog entry creation.  The use-case is for a user  to create a blog entry using a separate user interface tool, and then publish (upload) the blog entry to a Share sites blog repository.   I'm familiar with the web services to upload files to the content repository, so I'm comfortable with this process. What I am wondering about is the naming convention for blog posts.  A blog created from the Share UI produces a blog post with a name such as post-1287175716984_867.  I'm not certain whether this is a randomly generated name, or if there is some convention being used.   I've not been able to find any documentation on this aspect of entry naming.

I'm guessing I need to generate a name that doesn't conflict and is consistent with how Alfresco generates the post name.  I'm wondering if anyone has needed to do this and suggest any hints on handling the naming of blog post entries.

Thank you.
Carlos S. Zamudio
1 REPLY 1

cszamudio
Champ on-the-rise
Champ on-the-rise
I can see now that the best strategy is to use the REST services to publish a new blog entry and let the service deal with naming, etc.  All I need to do is construct the JSON object to pass to the service.