Re: [xwiki-users] blog app issue

2016-08-19 Thread Marius Dumitru Florea
On Fri, Aug 19, 2016 at 12:45 AM, Vincent Massol  wrote:

> Hi Paul,
>
> > On 18 Aug 2016, at 23:23, Paul Pinkerton (ACLCO) 
> wrote:
> >
> > I have been using the blog app for some time, but recently (ok, not
> quite sure how long, but not years anyway), I have noticed that it is
> creating 2 entries for every blog post.  It actually creates 2 pages named
> the same and if you delete one, both are deleted.
> >
> > I think this issue may be the language settings - I have English and
> French enabled - but beyond that I can't track down why it's doing this.  I
> am not creating a version and then translating it, but at the bottom of
> some pages in the author/ editor info, it says translated to...
> >
> > Any insight would be appreciated.
>
> I’ve tried to reproduce on XWiki 8.2.1 but couldn’t. Here’s what I did:
> * Set up multilingual to true
> * Set languages to be "en,fr”
> * Default language: en
> * Then I create a new blog post
>
> I could only find one page created.
>

I cannot reproduce either. I tried both when the context language is the
default language and when not. I get only one page.

Hope this helps,
Marius


>
> Would be great if you could find the steps to reproduce the problem, maybe
> by trying on a fresh instance and progressively working towards your config.
>
> Thanks
> -Vincent
>
>
> > Paul Pinkerton
> > KnowledgeNow Project Lead
> > pink...@lao.on.ca
> > Skype: pinkerp.lao
> >
> > Association of Community Legal Clinics of Ontario
> > 416-847-1418 or 1-866-965-1416x 5177
> > www.aclco.org
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog app issue

2016-08-18 Thread Vincent Massol
Hi Paul,

> On 18 Aug 2016, at 23:23, Paul Pinkerton (ACLCO)  wrote:
> 
> I have been using the blog app for some time, but recently (ok, not quite 
> sure how long, but not years anyway), I have noticed that it is creating 2 
> entries for every blog post.  It actually creates 2 pages named the same and 
> if you delete one, both are deleted.
> 
> I think this issue may be the language settings - I have English and French 
> enabled - but beyond that I can't track down why it's doing this.  I am not 
> creating a version and then translating it, but at the bottom of some pages 
> in the author/ editor info, it says translated to...
> 
> Any insight would be appreciated.

I’ve tried to reproduce on XWiki 8.2.1 but couldn’t. Here’s what I did:
* Set up multilingual to true
* Set languages to be "en,fr”
* Default language: en
* Then I create a new blog post

I could only find one page created.

Would be great if you could find the steps to reproduce the problem, maybe by 
trying on a fresh instance and progressively working towards your config.

Thanks
-Vincent


> Paul Pinkerton
> KnowledgeNow Project Lead
> pink...@lao.on.ca
> Skype: pinkerp.lao
> 
> Association of Community Legal Clinics of Ontario
> 416-847-1418 or 1-866-965-1416x 5177
> www.aclco.org
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories

2015-08-04 Thread bobino
It seems it's been a while since this discussion was last looked into. I used
the blog application management page to create a blog that has its own
space. I would like the blog within that space to use its own categories to
implement some kind of taxonomy (possibly like
http://xwiki.475771.n2.nabble.com/Add-collaborative-categorization-in-xwiki-td510778.html;cid=1438742496286-532#a510779
not sure since the code does not seem available).

Here is my question:
What do I need to do in the code to implement this? Do I need to copy the
category class over into the new space and tell the new blog to use this
class instead, if so, how. The new space only has WebHome, I would have
expected other pages of the original application to be copied as well.

Thanks for any help you can provide.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Blog-categories-tp6406817p7595576.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] BLOG, multiple instances

2012-06-21 Thread Gerritjan Koekkoek
Please, help me on below...
On XWiki.org I find the following:

Creating one or several Blogs

By default a recent XWiki installation will provide a blog inside the Blog 
space. You can use that one or create a new one inside an existing space or as 
the main content of a new space using the Blog's Management. For that you just 
need to navigate to this URL: /xwiki/bin/view/Blog/Management. A new page will show up asking you 
to enter:

• The name of the Space
• The title of the Blog
• Select if the blog is inside an existing space or as the main content 
of that space

I fail to see the difference between "existing space" or "new space", they both 
seem to deliver the same result, having the issues I described below?
- SHARED CATEGORIES; we would like to be able to define CATEGORIES per space; 
as we are a multi-language wiki and the blogs are NOT translated?
- SHARED PANELS; we would like to have Panels per sapce>

How to achieve this-> Configuarion or Customization; if Customization-> which 
things need customization and which code can be shared?

Gerritjan

Op 31 mei 2012, om 15:35 heeft Gerritjan Koekkoek het volgende geschreven:

> Hi,
> 
> We would like to create a second and third instance of BLOG within the Wiki
> This is quite easy to do with the BLOG.Management
> 
> But having done that there are two important things which we would like to
> see differently
> - Categories: Now the categories are shared between the BLOGS. We would
> like to have a Category structure per BLOG SPACE
> - Panels: We would like to have three side panels (last posts, Posts per
> category and Archive) showing only posts of that BLOG SPace
> 
> The instruction on XWiki,org do not cover these two things.
> Who knows how to do this?
> 
> Gerritjan
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries for specific category

2012-02-28 Thread Joris Dirks
On 28 February 2012 14:00, Guillaume Lerouge  wrote:

> Hi Joris,
>
> On Tue, Feb 28, 2012 at 11:19 AM, Joris Dirks 
> wrote:
>
> > On 28 February 2012 00:26,  > >wrote:
> >
> > > Hi Joris!
> > > 
> > > From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of
> > > Joris Dirks [jo...@user.stekje.nl]
> > > Sent: 27 February 2012 17:01
> > > To: XWiki Users
> > > Subject: [xwiki-users] Blog entries for specific category
> > >
> > > > Hi,
> > > >
> > > > I'm missing an option to show recent blog entries for a specific
> > > category,
> > > > e.g. in a panel. Is there such a feature available? I can imagine
> > others
> > > > have needed/used such a feature before.
> > > > Right now I'm just trying to hack Blog.RecentPostsPanel to filter on
> > > > category, but I can't wrap my head around the query needed.
> > > > In 'getEntriesForCategory' (Blog.CategoriesCode), the query is:
> > > > #set($query = ", DBStringListProperty as categories join
> > categories.list
> > > as
> > > > category${query} and obj.id = categories.id.id and
> > > > categories.id.name='category'
> > > > and category in (${parameters})")
> > > >
> > > > But that's about 10 degrees too difficult for me to comprehend :)
> > > >
> > >
> > > This could help:
> > >
> > >
> > >
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPublicAPI28searchDocuments29
> > >
> > > Greetings!
> > >
> >
> > Thanks, I've stared at that many times but I just can't comprehend how to
> > filter on a value in a the 'Category' object, which is of the database
> tree
> > type.
> >
>
> It's actually pretty complex. I tried to do it myself a couple times, but I
> never managed to make it work.
>
> Could someone who knows how to do this please update the query guide with
> an example?
>
> Thanks in advance,
>
> Guillaume
>

I take it http://www.xwiki.com/xwiki/bin/view/Panels/Actu isn't automated?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries for specific category

2012-02-28 Thread Guillaume Lerouge
Hi Joris,

On Tue, Feb 28, 2012 at 11:19 AM, Joris Dirks  wrote:

> On 28 February 2012 00:26,  >wrote:
>
> > Hi Joris!
> > 
> > From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of
> > Joris Dirks [jo...@user.stekje.nl]
> > Sent: 27 February 2012 17:01
> > To: XWiki Users
> > Subject: [xwiki-users] Blog entries for specific category
> >
> > > Hi,
> > >
> > > I'm missing an option to show recent blog entries for a specific
> > category,
> > > e.g. in a panel. Is there such a feature available? I can imagine
> others
> > > have needed/used such a feature before.
> > > Right now I'm just trying to hack Blog.RecentPostsPanel to filter on
> > > category, but I can't wrap my head around the query needed.
> > > In 'getEntriesForCategory' (Blog.CategoriesCode), the query is:
> > > #set($query = ", DBStringListProperty as categories join
> categories.list
> > as
> > > category${query} and obj.id = categories.id.id and
> > > categories.id.name='category'
> > > and category in (${parameters})")
> > >
> > > But that's about 10 degrees too difficult for me to comprehend :)
> > >
> >
> > This could help:
> >
> >
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPublicAPI28searchDocuments29
> >
> > Greetings!
> >
>
> Thanks, I've stared at that many times but I just can't comprehend how to
> filter on a value in a the 'Category' object, which is of the database tree
> type.
>

It's actually pretty complex. I tried to do it myself a couple times, but I
never managed to make it work.

Could someone who knows how to do this please update the query guide with
an example?

Thanks in advance,

Guillaume


> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries for specific category

2012-02-28 Thread Joris Dirks
On 28 February 2012 00:26, wrote:

> Hi Joris!
> 
> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of
> Joris Dirks [jo...@user.stekje.nl]
> Sent: 27 February 2012 17:01
> To: XWiki Users
> Subject: [xwiki-users] Blog entries for specific category
>
> > Hi,
> >
> > I'm missing an option to show recent blog entries for a specific
> category,
> > e.g. in a panel. Is there such a feature available? I can imagine others
> > have needed/used such a feature before.
> > Right now I'm just trying to hack Blog.RecentPostsPanel to filter on
> > category, but I can't wrap my head around the query needed.
> > In 'getEntriesForCategory' (Blog.CategoriesCode), the query is:
> > #set($query = ", DBStringListProperty as categories join categories.list
> as
> > category${query} and obj.id = categories.id.id and
> > categories.id.name='category'
> > and category in (${parameters})")
> >
> > But that's about 10 degrees too difficult for me to comprehend :)
> >
>
> This could help:
>
>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPublicAPI28searchDocuments29
>
> Greetings!
>

Thanks, I've stared at that many times but I just can't comprehend how to
filter on a value in a the 'Category' object, which is of the database tree
type.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries for specific category

2012-02-27 Thread Ricardo.Julio.Rodriguez.Fernandez
Hi Joris!

From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris 
Dirks [jo...@user.stekje.nl]
Sent: 27 February 2012 17:01
To: XWiki Users
Subject: [xwiki-users] Blog entries for specific category

> Hi,
>
> I'm missing an option to show recent blog entries for a specific category,
> e.g. in a panel. Is there such a feature available? I can imagine others
> have needed/used such a feature before.
> Right now I'm just trying to hack Blog.RecentPostsPanel to filter on
> category, but I can't wrap my head around the query needed.
> In 'getEntriesForCategory' (Blog.CategoriesCode), the query is:
> #set($query = ", DBStringListProperty as categories join categories.list as
> category${query} and obj.id = categories.id.id and
> categories.id.name='category'
> and category in (${parameters})")
>
> But that's about 10 degrees too difficult for me to comprehend :)
>

This could help:

http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPublicAPI28searchDocuments29

Greetings!



> Any hints? Thanks!
>
> Joris
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos 
adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu 
destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por 
favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.

Nota: La informaci?n contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y est? dirigida ?nicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog : windows "Content:" and "Summary (optional):" not accessible

2011-06-13 Thread Marius Dumitru Florea
Hi Yannick,

On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
> Hello,
>

> When I try to post a blog, the windows "Content:" and "Summary (optional):"
> are in loading mode all the time. It's not possible to add anything.

I guess this means the WYSIWYG editor fails to load. Can you edit a 
simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org?

Hope this helps,
Marius

>
> Can you help me pls?
>
> Regards
>
> Yannick
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories

2011-05-29 Thread Frantisek Kall
Thanks for answer

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Blog-categories-tp6406817p6417181.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories

2011-05-26 Thread Sergiu Dumitriu
On 05/26/2011 02:31 PM, Frantisek Kall wrote:
> I created a new blog in a new space (I have plan to create two more).
>
> Is it possible to have separate categories for every blog?
>
> Thanks
>
> Frantisek

It's not implemented yet, but it's something we want in the future.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog - link to attachment fails

2011-01-11 Thread Vincent Massol
Hi mb,

On Jan 9, 2011, at 5:41 PM, mb wrote:

> Hi all,
> 
> I'd like to use a link to an attachment in a blog comment, like 
> [[attach:demo.jpg]].  It causes a link to 
> http://./xwiki/bin/download/Main/WebHome/demo.jpg - 
> that's wrong, it should be 
> http://./xwiki/bin/download/Blog//demo.jpg
> 
> I am using xwiki 2.7.
> 
> Any hints?

It's a bug I think. Could you report it in jira: http://jira.xwiki.org ?

I think right now you need to prefix with the document's name but that's a bug.

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog - link to attachment fails

2011-01-11 Thread Marius Dumitru Florea
On 01/09/2011 06:41 PM, mb wrote:
> Hi all,
>
> I'd like to use a link to an attachment in a blog comment, like
> [[attach:demo.jpg]].  It causes a link to
> http://./xwiki/bin/download/Main/WebHome/demo.jpg -
> that's wrong, it should be
> http://./xwiki/bin/download/Blog//demo.jpg
>
> I am using xwiki 2.7.
>
> Any hints?

I can reproduce it on any page. It's clearly a bug. It seems that the 
comments are not rendered in the context of the document they are 
attached to. You should report the problem on jira.xwiki.org . In the 
mean time you can use the full reference like this as a work around:

attach:blog.yourblogp...@demo.jpg

Hope this helps,
Marius

>
> Thanks
> mb
>
> By the way: What about WYSIWYG for comments?
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog main page only displays a link 'Read the Full Entry'

2011-01-04 Thread Ricardo Rodriguez [eBioTIC.]
Hi again!

Ricardo Rodriguez [eBioTIC.] wrote:
> Hi!
>
> Young Gu wrote:
>   
>> Hi Ricardo,
>>
>> Thanks for your help, sorry for my confusing description.
>>
>> Just as we knows, the blog main page will aggregate posts and display a 
>> summary  when we access blog application, and for long post, there will 
>> be a Read the Full Entry link to view the entire post content. such as :
>>
>> Upgrading to Xwiki 2.6 
>> 
>>
>> Good news, I have upgraded my wiki to the latest stable version 2.6 from 
>> the version 2.0-milestone-1.*CONGRATULATIONS*.
>>
>> The new version of xwiki is more beautiful and more powerful, which 
>> provide several out of box skin and, also, you still customise your own 
>> skin. It's so funny!!! Thanks xwiki team! Good Job!
>>
>> ... 
>> 
>>
>>
>>
>> But unfortunately, currently, the new post which I have just created 
>> don't display the summary on the blog main page, just display a 'Read 
>> the Full Entry' link with three dots, such as the blow post. And other 
>> old posts work fine, display both summary and the link, such as the 
>> above post.  I have never edit the blog main wiki page,  I don't know 
>> what's going on.
>>
>>
>>   Thunderbird Work Again for Gmail
>>   
>> 
>>
>>
>> ... 
>> 
>>
>>
>> Does I miss some configuration for the blog application?
>>
>> BTW: the attachment of my previous email is just a screen capture of my 
>> blog main page, the content is similar with the above. And sorry for 
>> that I don't have Internet address for my wiki, I am just using it for 
>> investigating the xwiki for my self.
>>
>>
>> Thanks for your time.
>>
>> Please be free to contact with me for any question or suggestion.
>>
>> Thanks&  Best Regards,
>>
>> Young Gu | Software Engineer | www.infor.com
>>
>>   
>> 
>
> I'm afraid I can not be of any help here. Any of your links is available 
> from the net and I don't understand what is happening to you. Please, 
> take just xwiki.org Blog as a reference and try to explain what is 
> happening there. Or send the screenshots directly to me.
>   

Following the message you have sent directly to me. Here your snapshot:

http://ebiotic.net/bin/download/XWiki/YoungGu/xwiki-blog-read-full-entry.png

And here a way of reproducing it. Check the last entry:

http://ebiotic.net/bin/Blog/

Please, could you edit the "in trouble" entries in "object mode" and 
check the content of the summary/extract field? In the sample I've 
created, the content of this field is just a space. XWiki detects some 
content and ellipsis is shown even though this field has not actual 
contents.

Thanks!
>> On 01/03/2011 06:41 AM, Ricardo Rodriguez [eBioTIC.] wrote:
>>   
>> 
>>> Hi, Young Gu!
>>>
>>> Young Gu wrote:
>>> 
>>>   
 Hi All,

 I got a problem with my xwiki blog, all of the created new post just
 display a link 'Read the Full Entry' within the main blog page, don't
 display the content of post, but the post which I created two weeks
 ago can be display correct. I didn't updated any blog related document
 such as Blog.BlogSheet and Blog.BlogCode.

 Does anyone get this problem or knows how to fix it? Please help me, I
 am a stranger with xwiki although I like it.

   
 
>>> I've just tried in a couple of installations running here to see if any
>>> problem could be derived from the change of the year and all is running
>>> fine as far as I see. So, please, could you describe your environment to
>>> help other to identify the problem?
>>>
>>> 
>>>   
 Please refer to attachment for details, Thanks.
   
 
>>> Sorry, attachments are filtered out by the list service. Please, could
>>> you upload the image/file somewhere in a accessible server and send us a
>>> link?
>>>
>>> Even better, is your server accessible from the Internet? I think it
>>> could help if we could see the actual server in action. Thanks!
>>>
>>>
>>> Greetings,
>>>
>>> Ricardo
>>>
>>> 
>>>   
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>   
>> 
>
>   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog main page only displays a link 'Read the Full Entry'

2011-01-04 Thread Ricardo Rodriguez [eBioTIC.]
Hi!

Young Gu wrote:
> Hi Ricardo,
>
> Thanks for your help, sorry for my confusing description.
>
> Just as we knows, the blog main page will aggregate posts and display a 
> summary  when we access blog application, and for long post, there will 
> be a Read the Full Entry link to view the entire post content. such as :
>
> Upgrading to Xwiki 2.6 
> 
>
> Good news, I have upgraded my wiki to the latest stable version 2.6 from 
> the version 2.0-milestone-1.*CONGRATULATIONS*.
>
> The new version of xwiki is more beautiful and more powerful, which 
> provide several out of box skin and, also, you still customise your own 
> skin. It's so funny!!! Thanks xwiki team! Good Job!
>
> ... 
> 
>
>
>
> But unfortunately, currently, the new post which I have just created 
> don't display the summary on the blog main page, just display a 'Read 
> the Full Entry' link with three dots, such as the blow post. And other 
> old posts work fine, display both summary and the link, such as the 
> above post.  I have never edit the blog main wiki page,  I don't know 
> what's going on.
>
>
>   Thunderbird Work Again for Gmail
>   
> 
>
>
> ... 
> 
>
>
> Does I miss some configuration for the blog application?
>
> BTW: the attachment of my previous email is just a screen capture of my 
> blog main page, the content is similar with the above. And sorry for 
> that I don't have Internet address for my wiki, I am just using it for 
> investigating the xwiki for my self.
>
>
> Thanks for your time.
>
> Please be free to contact with me for any question or suggestion.
>
> Thanks&  Best Regards,
>
> Young Gu | Software Engineer | www.infor.com
>
>   

I'm afraid I can not be of any help here. Any of your links is available 
from the net and I don't understand what is happening to you. Please, 
take just xwiki.org Blog as a reference and try to explain what is 
happening there. Or send the screenshots directly to me.

> On 01/03/2011 06:41 AM, Ricardo Rodriguez [eBioTIC.] wrote:
>   
>> Hi, Young Gu!
>>
>> Young Gu wrote:
>> 
>>> Hi All,
>>>
>>> I got a problem with my xwiki blog, all of the created new post just
>>> display a link 'Read the Full Entry' within the main blog page, don't
>>> display the content of post, but the post which I created two weeks
>>> ago can be display correct. I didn't updated any blog related document
>>> such as Blog.BlogSheet and Blog.BlogCode.
>>>
>>> Does anyone get this problem or knows how to fix it? Please help me, I
>>> am a stranger with xwiki although I like it.
>>>
>>>   
>> I've just tried in a couple of installations running here to see if any
>> problem could be derived from the change of the year and all is running
>> fine as far as I see. So, please, could you describe your environment to
>> help other to identify the problem?
>>
>> 
>>> Please refer to attachment for details, Thanks.
>>>   
>> Sorry, attachments are filtered out by the list service. Please, could
>> you upload the image/file somewhere in a accessible server and send us a
>> link?
>>
>> Even better, is your server accessible from the Internet? I think it
>> could help if we could see the actual server in action. Thanks!
>>
>>
>> Greetings,
>>
>> Ricardo
>>
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog main page only displays a link 'Read the Full Entry'

2011-01-02 Thread Young Gu
Hi Ricardo,

Thanks for your help, sorry for my confusing description.

Just as we knows, the blog main page will aggregate posts and display a 
summary  when we access blog application, and for long post, there will 
be a Read the Full Entry link to view the entire post content. such as :

Upgrading to Xwiki 2.6 


Good news, I have upgraded my wiki to the latest stable version 2.6 from 
the version 2.0-milestone-1.*CONGRATULATIONS*.

The new version of xwiki is more beautiful and more powerful, which 
provide several out of box skin and, also, you still customise your own 
skin. It's so funny!!! Thanks xwiki team! Good Job!

... 




But unfortunately, currently, the new post which I have just created 
don't display the summary on the blog main page, just display a 'Read 
the Full Entry' link with three dots, such as the blow post. And other 
old posts work fine, display both summary and the link, such as the 
above post.  I have never edit the blog main wiki page,  I don't know 
what's going on.


  Thunderbird Work Again for Gmail
  



... 



Does I miss some configuration for the blog application?

BTW: the attachment of my previous email is just a screen capture of my 
blog main page, the content is similar with the above. And sorry for 
that I don't have Internet address for my wiki, I am just using it for 
investigating the xwiki for my self.


Thanks for your time.

Please be free to contact with me for any question or suggestion.

Thanks&  Best Regards,

Young Gu | Software Engineer | www.infor.com


On 01/03/2011 06:41 AM, Ricardo Rodriguez [eBioTIC.] wrote:
> Hi, Young Gu!
>
> Young Gu wrote:
>> Hi All,
>>
>> I got a problem with my xwiki blog, all of the created new post just
>> display a link 'Read the Full Entry' within the main blog page, don't
>> display the content of post, but the post which I created two weeks
>> ago can be display correct. I didn't updated any blog related document
>> such as Blog.BlogSheet and Blog.BlogCode.
>>
>> Does anyone get this problem or knows how to fix it? Please help me, I
>> am a stranger with xwiki although I like it.
>>
> I've just tried in a couple of installations running here to see if any
> problem could be derived from the change of the year and all is running
> fine as far as I see. So, please, could you describe your environment to
> help other to identify the problem?
>
>> Please refer to attachment for details, Thanks.
> Sorry, attachments are filtered out by the list service. Please, could
> you upload the image/file somewhere in a accessible server and send us a
> link?
>
> Even better, is your server accessible from the Internet? I think it
> could help if we could see the actual server in action. Thanks!
>
>
> Greetings,
>
> Ricardo
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog main page only displays a link 'Read the Full Entry'

2011-01-02 Thread Ricardo Rodriguez [eBioTIC.]
Hi, Young Gu!

Young Gu wrote:
> Hi All,
>
> I got a problem with my xwiki blog, all of the created new post just 
> display a link 'Read the Full Entry' within the main blog page, don't 
> display the content of post, but the post which I created two weeks 
> ago can be display correct. I didn't updated any blog related document 
> such as Blog.BlogSheet and Blog.BlogCode.
>
> Does anyone get this problem or knows how to fix it? Please help me, I 
> am a stranger with xwiki although I like it.
>

I've just tried in a couple of installations running here to see if any 
problem could be derived from the change of the year and all is running 
fine as far as I see. So, please, could you describe your environment to 
help other to identify the problem?

>
> Please refer to attachment for details, Thanks.

Sorry, attachments are filtered out by the list service. Please, could 
you upload the image/file somewhere in a accessible server and send us a 
link?

Even better, is your server accessible from the Internet? I think it 
could help if we could see the actual server in action. Thanks!


Greetings,

Ricardo

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog application & Document creator

2010-04-11 Thread Gerritjan Koekkoek
I do not understand, sorry...

This is how I tried it;
{{groovy}}
   vArticle = xwiki.getDocument("CdlsArticle.cdl18_anticonceptie")
vArticle.setContent('{{include 
document="CdlsArticle.ArticlePostSheet"/}}')
vArticle.setParent("CdlsArticle.WebHome")
vArticle.set("language","nl")
vArticle.set("translation","1")
... some other code...
vObjArticle.set("published",'1')
vObjArticle.set("hidden",'0')
vObjArticle.set("category",['CdlsArticle.Nieuws'])
import com.xpn.xwiki.doc.XWikiDocument;
XWikiDocument articleDoc = vArticle.getDocument();
articleDoc.setAuthor('XWiki.MiekevanLeeuwen');
articleDoc.setCreator('XWiki.MiekevanLeeuwen');
articleDoc.setContentDirty(false);
articleDoc.setMetaDataDirty(false);
xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);
 {{/groovy}}
Get error:
at 
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluate(AbstractJSR223ScriptMacro.java:201)
at 
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluate(AbstractJSR223ScriptMacro.java:50)
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:200)
at 
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:137)
at 
org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50)
at 
org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:174)
at 
org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:119)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at 
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:6992)
at 
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:6967)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:795)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:809)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:484)
at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at 
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at 
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at 
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at 
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at 
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at 
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1845)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1773)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1741)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:740)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at 
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at 
org.apache.velocity.runtime.parser.node.ASTBlock

Re: [xwiki-users] Blog application & Document creator

2010-04-10 Thread Sergiu Dumitriu
On 04/10/2010 10:41 PM, Gerritjan Koekkoek wrote:
> Hi,
> Most of your advise was accurate and has helped,
> Thank you,
>
> XWikiDocument articleDoc = vArticle.getDocument();
> articleDoc.setAuthor(user);
> articleDoc.setCreator(user);
> aticleDoc.setContentDirty(false);
> aticleDoc.setMetaDataDirty(false);
> xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);
>
> In Groovy; should I add the semicolon at the end of each line?

I think it's optional. I prefer adding them.

> Should I add this piece of code after the vArticle.save() statement?

You should not keep the vArticle.save() line, since the block that I 
gave you is exactly for saving the document.

> When I did I get the following error:
> Script22.groovy: 73: unable to resolve class XWikiDocument
>   @ line 73, column 15.
> XWikiDocument articleDoc = vArticle.getDocument();

You should import com.xpn.xwiki.doc.XWikiDocument;

>   ^
> the category and hidden tip did work
>
> Op 6 apr 2010, om 21:45 heeft Sergiu Dumitriu het volgende geschreven:
>
> On 04/03/2010 01:34 PM, Gerritjan Koekkoek wrote:
>> Hi,
>>
>> I try to convert a website in xwiki.blog application
>> For each page I create a groovy script that creates a blog post
>> The script is successful with three exceptions;
>>
>> 1) Would like to maintain the original author
>> So I create a xwiki.user (this works)
>> Then I would like to set the document property with
>> {{groovy}}
>> ... (the first part of the script)
>> vArticle.set("creator",'XWiki.FamilievandenMeulengraaf')
>>  vArticle.save()
>> {{/groovy}}
>>
>> But looking at the post it still has creator as the user running the code
>
> Using the public API it's impossible to set a different creator/author
> than the current user. You need to get into the internal objects, and do
> something like:
>
> XWikiDocument articleDoc = vArticle.getDocument();
> articleDoc.setAuthor(user);
> articleDoc.setCreator(user);
> aticleDoc.setContentDirty(false);
> aticleDoc.setMetaDataDirty(false);
> xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);
>
>> 2) Categories
>> I've created a few categories in the blog application
>> So I would like to set the category attribute, where the class-attribute 
>> definition of the post = Database Tree
>>
>> {{groovy}}
>> ...
>> vObjArticle.set("Category",'???')
>> ...
>> {{/groovy}}
>> Does any body know what to put in '???', since a category can be multiple 
>> entries ???
>
> If you want to put just one category, you can use the document name
> where the category is defined (in the blog each category is a document,
> look at the existing categories to see how they look like):
>
> vObjArticle.set('Category', 'Blog.MyNiceCategory')
>
> If you want to put multiple entries, you can use an array:
>
> vObjArticle.set('Category', ['Blog.Cat1', 'Blog.Cat2'])
>
>> 3)
>> When I run the script a postpage is created, I see a link in the new 
>> documents frame.
>> When I go to it it displays OK, but when I go to the blog application it 
>> does not show in the blog indexes (recently, categories (explained under 2)) 
>> or historical)
>> Only when I go to the page, click edit object and directly click save it 
>> will show up in he blog
>> What could be the reason for this,
>
> Try also setting a value for the 'isHidden' property.
>
>> The code looks like ( = title of the post)
>> {{groovy}}
>>  vArticle = xwiki.getDocument("CdlsArticle.XX")
>>  vArticle.setContent('{{include 
>> document="CdlsArticle.ArticlePostSheet"/}}')
>>  vArticle.setParent("CdlsArticle.WebHome")
>>  vArticle.set("language","nl")
>>  vArticle.set("translation","1")
>>  vObjArticle = 
>> vArticle.getObject("CdlsArticle.ArticlePostClass",true)
>> ...
>> def vTitle = "X"
>> vObjArticle.set("title",vTitle)
>> ...
>>  def vExtractHeader = ''
>>  def vExtractText = ''
>>  def vExtractPicture = 'image:photo.cdl...@.jpg
>>  vObjArticle.set("extract",vExtractHeader + vExtractText + 
>> vExtractPicture)
>> .. etcetera
>> ..
>>  vObjArticle.set("published",'1')
>>  vArticle.save()
>> {{/groovy}}
>


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog application & Document creator

2010-04-10 Thread Gerritjan Koekkoek
Hi,
Most of your advise was accurate and has helped,
Thank you,

XWikiDocument articleDoc = vArticle.getDocument();
articleDoc.setAuthor(user);
articleDoc.setCreator(user);
aticleDoc.setContentDirty(false);
aticleDoc.setMetaDataDirty(false);
xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);

In Groovy; should I add the semicolon at the end of each line?
Should I add this piece of code after the vArticle.save() statement?
When I did I get the following error:
Script22.groovy: 73: unable to resolve class XWikiDocument 
 @ line 73, column 15.
   XWikiDocument articleDoc = vArticle.getDocument();
 ^
the category and hidden tip did work

Op 6 apr 2010, om 21:45 heeft Sergiu Dumitriu het volgende geschreven:

On 04/03/2010 01:34 PM, Gerritjan Koekkoek wrote:
> Hi,
> 
> I try to convert a website in xwiki.blog application
> For each page I create a groovy script that creates a blog post
> The script is successful with three exceptions;
> 
> 1) Would like to maintain the original author
> So I create a xwiki.user (this works)
> Then I would like to set the document property with
> {{groovy}}
> ... (the first part of the script)
>vArticle.set("creator",'XWiki.FamilievandenMeulengraaf')
> vArticle.save()
> {{/groovy}}
> 
> But looking at the post it still has creator as the user running the code

Using the public API it's impossible to set a different creator/author 
than the current user. You need to get into the internal objects, and do 
something like:

XWikiDocument articleDoc = vArticle.getDocument();
articleDoc.setAuthor(user);
articleDoc.setCreator(user);
aticleDoc.setContentDirty(false);
aticleDoc.setMetaDataDirty(false);
xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);

> 2) Categories
> I've created a few categories in the blog application
> So I would like to set the category attribute, where the class-attribute 
> definition of the post = Database Tree
> 
> {{groovy}}
> ...
> vObjArticle.set("Category",'???')
> ...
> {{/groovy}}
> Does any body know what to put in '???', since a category can be multiple 
> entries ???

If you want to put just one category, you can use the document name 
where the category is defined (in the blog each category is a document, 
look at the existing categories to see how they look like):

vObjArticle.set('Category', 'Blog.MyNiceCategory')

If you want to put multiple entries, you can use an array:

vObjArticle.set('Category', ['Blog.Cat1', 'Blog.Cat2'])

> 3)
> When I run the script a postpage is created, I see a link in the new 
> documents frame.
> When I go to it it displays OK, but when I go to the blog application it does 
> not show in the blog indexes (recently, categories (explained under 2)) or 
> historical)
> Only when I go to the page, click edit object and directly click save it will 
> show up in he blog
> What could be the reason for this,

Try also setting a value for the 'isHidden' property.

> The code looks like ( = title of the post)
> {{groovy}}
> vArticle = xwiki.getDocument("CdlsArticle.XX")
> vArticle.setContent('{{include 
> document="CdlsArticle.ArticlePostSheet"/}}')
> vArticle.setParent("CdlsArticle.WebHome")
> vArticle.set("language","nl")
> vArticle.set("translation","1")
> vObjArticle = 
> vArticle.getObject("CdlsArticle.ArticlePostClass",true)
> ...
>def vTitle = "X"
>vObjArticle.set("title",vTitle)
> ...
> def vExtractHeader = ''
> def vExtractText = ''
> def vExtractPicture = 'image:photo.cdl...@.jpg
> vObjArticle.set("extract",vExtractHeader + vExtractText + 
> vExtractPicture)
> .. etcetera
> ..
> vObjArticle.set("published",'1')
> vArticle.save()
> {{/groovy}}

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog application & Document creator

2010-04-06 Thread Sergiu Dumitriu
On 04/03/2010 01:34 PM, Gerritjan Koekkoek wrote:
> Hi,
>
> I try to convert a website in xwiki.blog application
> For each page I create a groovy script that creates a blog post
> The script is successful with three exceptions;
>
> 1) Would like to maintain the original author
> So I create a xwiki.user (this works)
> Then I would like to set the document property with
> {{groovy}}
> ... (the first part of the script)
> vArticle.set("creator",'XWiki.FamilievandenMeulengraaf')
>  vArticle.save()
> {{/groovy}}
>
> But looking at the post it still has creator as the user running the code

Using the public API it's impossible to set a different creator/author 
than the current user. You need to get into the internal objects, and do 
something like:

XWikiDocument articleDoc = vArticle.getDocument();
articleDoc.setAuthor(user);
articleDoc.setCreator(user);
aticleDoc.setContentDirty(false);
aticleDoc.setMetaDataDirty(false);
xwiki.getXWiki().saveDocument(articleDoc, xcontext.getContext);

> 2) Categories
> I've created a few categories in the blog application
> So I would like to set the category attribute, where the class-attribute 
> definition of the post = Database Tree
>
> {{groovy}}
> ...
> vObjArticle.set("Category",'???')
> ...
> {{/groovy}}
> Does any body know what to put in '???', since a category can be multiple 
> entries ???

If you want to put just one category, you can use the document name 
where the category is defined (in the blog each category is a document, 
look at the existing categories to see how they look like):

vObjArticle.set('Category', 'Blog.MyNiceCategory')

If you want to put multiple entries, you can use an array:

vObjArticle.set('Category', ['Blog.Cat1', 'Blog.Cat2'])

> 3)
> When I run the script a postpage is created, I see a link in the new 
> documents frame.
> When I go to it it displays OK, but when I go to the blog application it does 
> not show in the blog indexes (recently, categories (explained under 2)) or 
> historical)
> Only when I go to the page, click edit object and directly click save it will 
> show up in he blog
> What could be the reason for this,

Try also setting a value for the 'isHidden' property.

> The code looks like ( = title of the post)
> {{groovy}}
>  vArticle = xwiki.getDocument("CdlsArticle.XX")
>  vArticle.setContent('{{include 
> document="CdlsArticle.ArticlePostSheet"/}}')
>  vArticle.setParent("CdlsArticle.WebHome")
>  vArticle.set("language","nl")
>  vArticle.set("translation","1")
>  vObjArticle = 
> vArticle.getObject("CdlsArticle.ArticlePostClass",true)
> ...
> def vTitle = "X"
> vObjArticle.set("title",vTitle)
> ...
>  def vExtractHeader = ''
>  def vExtractText = ''
>  def vExtractPicture = 'image:photo.cdl...@.jpg
>  vObjArticle.set("extract",vExtractHeader + vExtractText + 
> vExtractPicture)
> .. etcetera
> ..
>  vObjArticle.set("published",'1')
>  vArticle.save()
> {{/groovy}}

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-25 Thread Marius Dumitru Florea
Hi there,

Vincent Massol wrote:
> Hi Rick,
> 
> On Jan 24, 2010, at 7:50 PM, Rick Hadsall wrote:
> 
>> Guillaume Lerouge wrote:
>>> Yes, definitely. The blog actually used to do this but we changed it some
>>> time ago because when content got truncated sometimes markup was no longer
>>> closed properly, which led to wome weird display on the blog homepage (half
>>> of the text getting underlined, stuff like that).
>>>
>>> With the new rendering engine, it could be possible to write a "smart"
>>> snippet algorithm that would cut the markup in the right place. In the
>>> default version, you'll notice that if you manually fill the "summary" field
>>> of a blog post it gets displayed on the blog homepage instead of the actual
>>> article content, which I believe is close to the behavior you're looking
>>> for. If that's what you want to do, follow the indications on
>>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication to create
>>> a blog out of any page.
>>>
>> OK.  I'll give this a try.  In theory the engine could be smart enough 
>> to know if it is going to truncate in the middle of markup and adjust 
>> accordingly, but having people provide a summary is a decent alternative.
>>
>> But what I'm trying to do is create the blogs, but then be able to list 
>> the blogs on another regular wiki/content page - either in a list or a 
>> summary format.  I don't want to force the user to go to the "blog" page 
>> to get the teasers for that content - I'd like to be able to tease the 
>> content on another page or two (where relevant, by category, or blog, 
>> etc) and let them click to read the full thing.
>>> By the way, I'd be interested in hearing your feedback about XWiki as
>>> compared to Confluence. Specifically, if you were to name one thing you like
>>> best in XWiki vs Confluence and one thing you like best in Confluence
>>> compared to XWiki, what would those be?
> 
> First let me thank you a lot for the feedback, that's really useful for us.
> 
>> Well, it's probably too soon to tell as I'm very new with XWiki and very 
>> comfortable with Confluence.  My sense is that XWiki has a long way to 
>> go - Confluence's markup language is excellent,
> 
> In term of markup language, we had XWiki syntax 1.0 which was close to 
> confluence's syntax (since both depended on Radeox). However we've seen lots 
> of limitations and have created XWiki Syntax 2.0 which we believe is the most 
> powerful markup language (basically we can do back and forth from HTML and 
> not loose content which isn't true for the other syntaxes we know of).
> 
> The new syntax is described here:
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
> 
> I'd be happy to know if you still think there are things better done in the 
> confluence syntax and that xwiki's syntax cannot do (I believe the opposite 
> is true).
> 

> Also, to be noted, is that XWiki is polyglot ie it supports several syntaxes, 
> amongst which Confluence syntax (although if you use it you won't be able to 
> use our new WYSIWYG editor since right now it only supports XWiki Syntax 1.0).

Correction: the new WYSIWYG editor works best with XWiki Syntax 2.0 but 
it's not restricted to this syntax. The WYSIWYG editor understands and 
produces annotated XHTML thus it can work with any syntax that has a 
parser from and a renderer to annotated XHTML. Of course, if the storage 
syntax is less powerful than XHTML you'll loose information during page 
save. The editor can be adjusted to restrict some XHTML constructs in 
order to reduce the information loss.

> 
>> and you can do pretty 
>> much anything you want with the macros they provide and the parameters 
>> for them.  
> 
> I agree that confluence has an edge in term of number of macros. Where XWiki 
> catches up I believe is with the ability to write velocity/groovy/ruby/python 
> scripts directly in pages along with a powerful API accessible from theses 
> scripting language which makes it relatively easy to script any missing 
> macro. However this is no substitute for more macros since standard users may 
> not have the skills to write such scripts.
> 
>> For example with the blog issue you simply use the blog macro 
>> on any page and pass it the parameters for which blogs you want 
>> (category, space, date ranges, what kind of listing, etc) and voila.  
> 
> I remember using the confluence blog a long time ago (around 2005) and I 
> didn't like it because it was something part of the Confluence core and you 
> couldn't modify it to your needs. For example it had not ability to modify 
> the date of a post (that's probably been added since then) and there was no 
> way I could add it (except to go in java dev mode and rewrite the blog 
> provided I had access to the sources). In XWiki the blog application is 
> contained in wiki pages and you can edit them and modify them to suit your 
> exact needs, where needed.
> 
> In due time we'll probably make the most obvious features avail

Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-24 Thread Rick Hadsall
Vincent Massol wrote:
>> ...
>> 
Thank you for all your suggestions, pointers, and comments.  Clearly 
support is not a problem with XWiki.  I'll start working with this 
information some more now and see if that helps me get the project 
moving faster!

>> One thing I'm also not clear how to do is if I wanted to put up a form 
>> on a page that collects some information and then e-mails it to someone 
>> (e.g., a request for information form) - is that something I can even do 
>> at all?  That would be okay to have scripting since it'd need CAPTCHA 
>> and all that.
>> 
>
> Re captcha we have just committed a captcha component. You'll have it in XE 
> 2.2 milestone 2 to be released next week.
> Re mail, we have a mail sender plugin:
> http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin
>   
Yep.  Do you have a tutorial on how to combine that with a form?  I need 
to create a page that has a bunch of fields (Name, address, some free 
form, etc) and then have everything submitted get e-mailed to someone to 
process. 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-24 Thread Vincent Massol

On Jan 24, 2010, at 8:54 PM, Rick Hadsall wrote:

> Vincent Massol wrote:
>> 
>> First let me thank you a lot for the feedback, that's really useful for us.
>> 
>> 
> No problem.  As I continue to learn I'll give more.
>> I'd be happy to know if you still think there are things better done in the 
>> confluence syntax and that xwiki's syntax cannot do (I believe the opposite 
>> is true).
>> 
>> Also, to be noted, is that XWiki is polyglot ie it supports several 
>> syntaxes, amongst which Confluence syntax (although if you use it you won't 
>> be able to use our new WYSIWYG editor since right now it only supports XWiki 
>> Syntax 1.0).
>> 
>> 
> Cheers, Vincent.  I'll take a look at this in more depth.  One question 
> - does the WYSIWYG support pages that use the XWiki Syntax 2.0 though?  

Yes.

> I'd avoid using confluence syntax on XWiki personally, and will 
> recommend my users to do the same.

I agree since the xwiki syntax is more powerful, our support of the confluence 
syntax is not complete (maybe around 70%) and as I said our wysiwyg editor 
won't allow editing anything other than xwiki syntax for now).

> Note: I am having trouble right now having two separate named blogs in 
> one space.  I figured out how to do it in theory by renaming "Blog" to 
> whatever I want it to be, but since it relies heavily on templates and 
> what not from the Blog _space_, it doesn't actually work in practice.  
> But I will mess with the macros to see if this is necessary because if I 
> can control the display of blog teasers by category using an XWiki 
> macro, I'll do that.

I'll let Sergiu answer this since he's the blog app author.

>> I agree that confluence has an edge in term of number of macros. Where 
>> XWiki catches up I believe is with the ability to write 
>> velocity/groovy/ruby/python scripts directly in pages along with a 
>> powerful API accessible from theses scripting language which makes it 
>> relatively easy to script any missing macro. However this is no 
>> substitute for more macros since standard users may not have the 
>> skills to write such scripts.
>> 
> Inline scripting is a bad idea, though.  But one thing that you might 
> want to do - and maybe you have it already, but the default pages don't 
> seem to make use of it - it allow user macros and global macros that are 
> code/markup/macros that can be referred to as a standard XWiki macro w/ 
> parameters.  Confluence does this - you can put the scripting and stuff 
> in the user macro or the space macro - which isn't Java code, but this 
> kind of code - and then users use the resulting macro w/ parameters in 
> the actual pages.  This is much better as it's easier for end-users to 
> understand and work with.  Code inline in the page - they'll just back 
> away from the keyboard and call someone else, which defeats the purpose.

Definitely, that's what wiki macros are for (the link I gave in my first 
reply). Here it is:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial

>> I remember using the confluence blog a long time ago (around 2005) and I 
>> didn't like it because it was something part of the Confluence core and you 
>> couldn't modify it to your needs. For example it had not ability to modify 
>> the date of a post (that's probably been added since then) and there was no 
>> way I could add it (except to go in java dev mode and rewrite the blog 
>> provided I had access to the sources). In XWiki the blog application is 
>> contained in wiki pages and you can edit them and modify them to suit your 
>> exact needs, where needed.
>> 
>> 
> No, I think even in 3.1 you can't back-date the blog post, which is 
> stupid.  I really like that you can do that - we're starting a new site, 
> we have extant blog posts - I want to preserve the continuity.  Can't do 
> that on Confluence, so you're correct.
>> 
>> 
>>> XWiki's preview doesn't work 
>>> correctly - often you will preview and want to go back to editor and 
>>> it's broken.  For example, edit a blog and then preview, and when you go 
>>> back to edit it will have a different look (no 'summary' and 'content' 
>>> pane, just one pane, and an error in it).  Very annoying.
>>> 
>> 
>> This is strange. Could it be that you're using a version of XWiki where the 
>> blog was still using the old wysiwyg editor? What version of XWiki 
>> Enterprise are you using?
>> 
>> 
> XWiki Enterprise 2.1.25683

hmm the conversion of the blog to xwiki syntax 2.0 was done in XE 2.1 final so 
it should be ok. Sergiu any idea what could be wrong?

>>> 
>>> It's something that, if I were XWiki, I would target to make 
>>> plugins compatible with Confluence's.
>>> 
>> 
>> Yes we wanted to do this at one point but it's not something easy to do. 
>> We'd need a confluence runtime, ie implement all APIs available from 
>> confluence plugins which is probably the whole platform if we wanted to be 
>> 100% compatible.
>> 
>> 
> Yes, that's the problem.  Perhaps a JAR with a pac

Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-24 Thread Rick Hadsall
Vincent Massol wrote:
>
> First let me thank you a lot for the feedback, that's really useful for us.
>
>   
No problem.  As I continue to learn I'll give more.
> I'd be happy to know if you still think there are things better done in the 
> confluence syntax and that xwiki's syntax cannot do (I believe the opposite 
> is true).
>
> Also, to be noted, is that XWiki is polyglot ie it supports several syntaxes, 
> amongst which Confluence syntax (although if you use it you won't be able to 
> use our new WYSIWYG editor since right now it only supports XWiki Syntax 1.0).
>
>   
Cheers, Vincent.  I'll take a look at this in more depth.  One question 
- does the WYSIWYG support pages that use the XWiki Syntax 2.0 though?  
I'd avoid using confluence syntax on XWiki personally, and will 
recommend my users to do the same.

Note: I am having trouble right now having two separate named blogs in 
one space.  I figured out how to do it in theory by renaming "Blog" to 
whatever I want it to be, but since it relies heavily on templates and 
what not from the Blog _space_, it doesn't actually work in practice.  
But I will mess with the macros to see if this is necessary because if I 
can control the display of blog teasers by category using an XWiki 
macro, I'll do that.
> I agree that confluence has an edge in term of number of macros. Where 
> XWiki catches up I believe is with the ability to write 
> velocity/groovy/ruby/python scripts directly in pages along with a 
> powerful API accessible from theses scripting language which makes it 
> relatively easy to script any missing macro. However this is no 
> substitute for more macros since standard users may not have the 
> skills to write such scripts.
>   
Inline scripting is a bad idea, though.  But one thing that you might 
want to do - and maybe you have it already, but the default pages don't 
seem to make use of it - it allow user macros and global macros that are 
code/markup/macros that can be referred to as a standard XWiki macro w/ 
parameters.  Confluence does this - you can put the scripting and stuff 
in the user macro or the space macro - which isn't Java code, but this 
kind of code - and then users use the resulting macro w/ parameters in 
the actual pages.  This is much better as it's easier for end-users to 
understand and work with.  Code inline in the page - they'll just back 
away from the keyboard and call someone else, which defeats the purpose.

> I remember using the confluence blog a long time ago (around 2005) and I 
> didn't like it because it was something part of the Confluence core and you 
> couldn't modify it to your needs. For example it had not ability to modify 
> the date of a post (that's probably been added since then) and there was no 
> way I could add it (except to go in java dev mode and rewrite the blog 
> provided I had access to the sources). In XWiki the blog application is 
> contained in wiki pages and you can edit them and modify them to suit your 
> exact needs, where needed.
>
>   
No, I think even in 3.1 you can't back-date the blog post, which is 
stupid.  I really like that you can do that - we're starting a new site, 
we have extant blog posts - I want to preserve the continuity.  Can't do 
that on Confluence, so you're correct.
>   
>   
>>  XWiki's preview doesn't work 
>> correctly - often you will preview and want to go back to editor and 
>> it's broken.  For example, edit a blog and then preview, and when you go 
>> back to edit it will have a different look (no 'summary' and 'content' 
>> pane, just one pane, and an error in it).  Very annoying.
>> 
>
> This is strange. Could it be that you're using a version of XWiki where the 
> blog was still using the old wysiwyg editor? What version of XWiki Enterprise 
> are you using?
>
>   
XWiki Enterprise 2.1.25683

>
>   
>>  It's something that, if I were XWiki, I would target to make 
>> plugins compatible with Confluence's.
>> 
>
> Yes we wanted to do this at one point but it's not something easy to do. We'd 
> need a confluence runtime, ie implement all APIs available from confluence 
> plugins which is probably the whole platform if we wanted to be 100% 
> compatible.
>
>   
Yes, that's the problem.  Perhaps a JAR with a package that would allow 
developers to map functions or something- something to make it easier to 
port to XWiki.  If it's easy, they'll do it.  Since many (most??) 
Confluence add-ons are open source you guys could do 5-10 and release 
them with lots of code comments and documentation to show how easy it 
is. One thing that is clear is that XWiki CAN do whatever Confluence can.
> I also agree here. XWiki permissions are probably more powerful but still too 
> complex to use. We have scheduled to work on this in the near future.
>   
That's great news!

>   
> Yes I know this confluence page but you shouldn't compare it with our syntax 
> page. On our syntax page we only describe the syntax not macros (we only 
> refer to it).
>

Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-24 Thread Vincent Massol
Hi Rick,

On Jan 24, 2010, at 7:50 PM, Rick Hadsall wrote:

> Guillaume Lerouge wrote:
>> 
>> Yes, definitely. The blog actually used to do this but we changed it some
>> time ago because when content got truncated sometimes markup was no longer
>> closed properly, which led to wome weird display on the blog homepage (half
>> of the text getting underlined, stuff like that).
>> 
>> With the new rendering engine, it could be possible to write a "smart"
>> snippet algorithm that would cut the markup in the right place. In the
>> default version, you'll notice that if you manually fill the "summary" field
>> of a blog post it gets displayed on the blog homepage instead of the actual
>> article content, which I believe is close to the behavior you're looking
>> for. If that's what you want to do, follow the indications on
>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication to create
>> a blog out of any page.
>> 
> OK.  I'll give this a try.  In theory the engine could be smart enough 
> to know if it is going to truncate in the middle of markup and adjust 
> accordingly, but having people provide a summary is a decent alternative.
> 
> But what I'm trying to do is create the blogs, but then be able to list 
> the blogs on another regular wiki/content page - either in a list or a 
> summary format.  I don't want to force the user to go to the "blog" page 
> to get the teasers for that content - I'd like to be able to tease the 
> content on another page or two (where relevant, by category, or blog, 
> etc) and let them click to read the full thing.
>> By the way, I'd be interested in hearing your feedback about XWiki as
>> compared to Confluence. Specifically, if you were to name one thing you like
>> best in XWiki vs Confluence and one thing you like best in Confluence
>> compared to XWiki, what would those be?

First let me thank you a lot for the feedback, that's really useful for us.

>> 
> Well, it's probably too soon to tell as I'm very new with XWiki and very 
> comfortable with Confluence.  My sense is that XWiki has a long way to 
> go - Confluence's markup language is excellent,

In term of markup language, we had XWiki syntax 1.0 which was close to 
confluence's syntax (since both depended on Radeox). However we've seen lots of 
limitations and have created XWiki Syntax 2.0 which we believe is the most 
powerful markup language (basically we can do back and forth from HTML and not 
loose content which isn't true for the other syntaxes we know of).

The new syntax is described here:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax

I'd be happy to know if you still think there are things better done in the 
confluence syntax and that xwiki's syntax cannot do (I believe the opposite is 
true).

Also, to be noted, is that XWiki is polyglot ie it supports several syntaxes, 
amongst which Confluence syntax (although if you use it you won't be able to 
use our new WYSIWYG editor since right now it only supports XWiki Syntax 1.0).

> and you can do pretty 
> much anything you want with the macros they provide and the parameters 
> for them.  

I agree that confluence has an edge in term of number of macros. Where XWiki 
catches up I believe is with the ability to write velocity/groovy/ruby/python 
scripts directly in pages along with a powerful API accessible from theses 
scripting language which makes it relatively easy to script any missing macro. 
However this is no substitute for more macros since standard users may not have 
the skills to write such scripts.

> For example with the blog issue you simply use the blog macro 
> on any page and pass it the parameters for which blogs you want 
> (category, space, date ranges, what kind of listing, etc) and voila.  

I remember using the confluence blog a long time ago (around 2005) and I didn't 
like it because it was something part of the Confluence core and you couldn't 
modify it to your needs. For example it had not ability to modify the date of a 
post (that's probably been added since then) and there was no way I could add 
it (except to go in java dev mode and rewrite the blog provided I had access to 
the sources). In XWiki the blog application is contained in wiki pages and you 
can edit them and modify them to suit your exact needs, where needed.

In due time we'll probably make the most obvious features available directly as 
macros or as configuration options but this example highlights one main 
difference of confluence vs xwiki IMO. Confluence is done well and for a usage 
in mind, XWiki is a toolbox/platform with powerful APIs. A few years back XWiki 
was hard for its users since it was powerful but you needed knowledge to 
benefit from this power. However for the past 3 years we've focused on 
usability and it's starting to show. We still have the powerful engine but now 
features are also much more accessible/usable than before. Obviously there are 
always improvements to be done and we have lots of ideas on stuff

Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-24 Thread Rick Hadsall
Guillaume Lerouge wrote:
>
> Yes, definitely. The blog actually used to do this but we changed it some
> time ago because when content got truncated sometimes markup was no longer
> closed properly, which led to wome weird display on the blog homepage (half
> of the text getting underlined, stuff like that).
>
> With the new rendering engine, it could be possible to write a "smart"
> snippet algorithm that would cut the markup in the right place. In the
> default version, you'll notice that if you manually fill the "summary" field
> of a blog post it gets displayed on the blog homepage instead of the actual
> article content, which I believe is close to the behavior you're looking
> for. If that's what you want to do, follow the indications on
> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication to create
> a blog out of any page.
>   
OK.  I'll give this a try.  In theory the engine could be smart enough 
to know if it is going to truncate in the middle of markup and adjust 
accordingly, but having people provide a summary is a decent alternative.

But what I'm trying to do is create the blogs, but then be able to list 
the blogs on another regular wiki/content page - either in a list or a 
summary format.  I don't want to force the user to go to the "blog" page 
to get the teasers for that content - I'd like to be able to tease the 
content on another page or two (where relevant, by category, or blog, 
etc) and let them click to read the full thing.
> By the way, I'd be interested in hearing your feedback about XWiki as
> compared to Confluence. Specifically, if you were to name one thing you like
> best in XWiki vs Confluence and one thing you like best in Confluence
> compared to XWiki, what would those be?
>   
Well, it's probably too soon to tell as I'm very new with XWiki and very 
comfortable with Confluence.  My sense is that XWiki has a long way to 
go - Confluence's markup language is excellent, and you can do pretty 
much anything you want with the macros they provide and the parameters 
for them.  For example with the blog issue you simply use the blog macro 
on any page and pass it the parameters for which blogs you want 
(category, space, date ranges, what kind of listing, etc) and voila.  
There's no need to know Velocity to do anything so you don't have all 
this code that regular editors and site maintainers won't ever have a 
prayer of knowing all over the place.  XWiki's preview doesn't work 
correctly - often you will preview and want to go back to editor and 
it's broken.  For example, edit a blog and then preview, and when you go 
back to edit it will have a different look (no 'summary' and 'content' 
pane, just one pane, and an error in it).  Very annoying.  The number of 
plug-ins and add-ons to confluence is massive - it allows a richness of 
content that is unmatched by pretty much any other product on the 
market.  It's something that, if I were XWiki, I would target to make 
plugins compatible with Confluence's.  Confluence's permissions seem to 
be easier to use and apply to discrete pages, spaces, and functions 
within than pretty much any other product's.  Confluence's macros around 
inclusion of Confluence content really set it apart from XWiki.  Pretty 
much anything in Confluence can be included on a page through a macro.  
That's something that really helps.  I know you can code it in XWiki but 
that really is not something that makes sense for a site managed by end 
users.

See:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
versus
http://sandbox.onconfluence.com/renderer/notationhelp.action?section=all


The panels on XWiki are awesome.  That's really an easy way to create 
that sort of thing - Confluence can't do it - you have to do sections 
and such and it's not perfect.  You can do it, but it's not as easy as 
XWiki's. 

Again- take with a bit of a grain of salt because I'm much, much more 
familiar with Confluence.  I'm using XWiki for a client who doesn't want 
to pay the license fee, which is a major advantage for XWiki.  But right 
now, it's not quite there as far as ease of use or richness/completeness 
of features.



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog: Showing teasers inline on a wiki page

2010-01-15 Thread Guillaume Lerouge
Hi Rick,

On Fri, Jan 15, 2010 at 9:08 PM, Rick Hadsall  wrote:

> Hi,
>
> I'm new to XWiki but know Confluence pretty well.  I'd like to be able to
> do
> something similar to what Confluence does with their blog macro - be able
> to
> show 1..n recent blog posts on a page, either just showing the titles
> (which
> we can do with Velocity as per the default Dashboard), or showing a
> "teaser"
> that shows the title, date posted, poster, and a small intro snippet of the
> post...
>
> Format would be like:
>
> TITLE
> snippet...
> ...
> ...
> Posted by user at datetime (possibly comment stats etc)
>
> Is there a way to do this in XWiki?
>

Yes, definitely. The blog actually used to do this but we changed it some
time ago because when content got truncated sometimes markup was no longer
closed properly, which led to wome weird display on the blog homepage (half
of the text getting underlined, stuff like that).

With the new rendering engine, it could be possible to write a "smart"
snippet algorithm that would cut the markup in the right place. In the
default version, you'll notice that if you manually fill the "summary" field
of a blog post it gets displayed on the blog homepage instead of the actual
article content, which I believe is close to the behavior you're looking
for. If that's what you want to do, follow the indications on
http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication to create
a blog out of any page.

By the way, I'd be interested in hearing your feedback about XWiki as
compared to Confluence. Specifically, if you were to name one thing you like
best in XWiki vs Confluence and one thing you like best in Confluence
compared to XWiki, what would those be?

Hope this helps,

Guillaume


> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog category in Dashboard

2009-12-18 Thread Sergiu Dumitriu
On 12/18/2009 06:16 PM, Daniel Johansson wrote:
> I'd like to customize the dashboard and add News category items from the 
> blog. I have tried some examples but none of them seem to work. In the 
> manuals there are mentions of macros in the blog but I can't seem to find any 
> reference. What's the easiest way to include blog content in pages outside 
> the blog? I'm using Xwiki 2.04.

You could try this:

- Edit the Main.Dashboard document in wiki mode
- Add this at the start of the content (before the {{velocity line):
{{include document="Blog.CategoriesCode"/}}
- Add this where you want the blog posts to be displayed:
 {{html wiki="true"}}
 #getEntriesForCategory('Blog.News' $entries $total)
 #displayBlog($entries 'category' true)
 {{/html}}

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog category in Dashboard

2009-12-18 Thread Aplamon



Guillaume Lerouge wrote:
> 
> Hi Daniel,
> 
> On Fri, Dec 18, 2009 at 6:16 PM, Daniel Johansson
> wrote:
> 
>> I'd like to customize the dashboard and add News category items from the
>> blog. I have tried some examples but none of them seem to work. In the
>> manuals there are mentions of macros in the blog but I can't seem to find
>> any reference. What's the easiest way to include blog content in pages
>> outside the blog? I'm using Xwiki 2.04.
>>
> 
> You can try adding this somewhere in Main.Dashboard :
> 
> {{velocity}}
> #set($sql = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='Blog.BlogPostClass' and
> obj.name<>'Blog.BlogPostClassTemplate'
> and doc.web='Blog' order by doc.creationDate desc")
> 
> #foreach($item in $xwiki.searchDocuments($sql,5,0))
> #set($bdoc = $xwiki.getDocument($item))
> #set($post = $bdoc.getObject("Blog.BlogPostClass"))
> #set($author = $bdoc.creator)
> #set($pos = $author.indexOf(":") + 1)
> #set($date = $xwiki.formatDate($bdoc.creationDate,"/MM/dd"))
> #useravatar($author.substring($pos))
> * *[$bdoc.getValue('title', $post)>$item]* by [$author] on $date
> #end
> {{/velocity}}
> 
> It will list the 5 last articles from your wiki's blog.
> 
> Guillaume
> 
> 
>> Daniel
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 
> -- 
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

Thanks Guillaume,
For some reason that script does not pull in my posts to the News category,
which is what I was interested in. I was envisioning something just like
this dashboard: http://www.xwiki.org/xwiki/bin/view/Main/News with recent
news and recent changes.

-- 
View this message in context: 
http://n2.nabble.com/Blog-category-in-Dashboard-tp4187409p4189810.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog category in Dashboard

2009-12-18 Thread Guillaume Lerouge
Hi Daniel,

On Fri, Dec 18, 2009 at 6:16 PM, Daniel Johansson wrote:

> I'd like to customize the dashboard and add News category items from the
> blog. I have tried some examples but none of them seem to work. In the
> manuals there are mentions of macros in the blog but I can't seem to find
> any reference. What's the easiest way to include blog content in pages
> outside the blog? I'm using Xwiki 2.04.
>

You can try adding this somewhere in Main.Dashboard :

{{velocity}}
#set($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Blog.BlogPostClass' and obj.name<>'Blog.BlogPostClassTemplate'
and doc.web='Blog' order by doc.creationDate desc")

#foreach($item in $xwiki.searchDocuments($sql,5,0))
#set($bdoc = $xwiki.getDocument($item))
#set($post = $bdoc.getObject("Blog.BlogPostClass"))
#set($author = $bdoc.creator)
#set($pos = $author.indexOf(":") + 1)
#set($date = $xwiki.formatDate($bdoc.creationDate,"/MM/dd"))
#useravatar($author.substring($pos))
* *[$bdoc.getValue('title', $post)>$item]* by [$author] on $date
#end
{{/velocity}}

It will list the 5 last articles from your wiki's blog.

Guillaume


> Daniel
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-14 Thread Vincent Gerris

hi Sergiu,

I created the request, thank you for your support!
http://jira.xwiki.org/jira/browse/XABLOG-96

Kind regards,
Vincent Gerris

On Fri, 2009-12-11 at 06:22 -0800, Sergiu Dumitriu-2 [via XWiki] wrote:
> On 12/11/2009 02:50 PM, Vincent Gerris wrote: 
> 
> > 
> > hi Vincent, 
> > 
> > I am really happy with the new editor, I can use backslashes again
> now :) \. 
> > We also made a few modifications to the Blog, which makes it
> possible to 
> > post when in a category. 
> > A wannahave would be to be able to do this and have the current
> category 
> > marked in the publish screen by default :). 
> > 
> > Thanks a lot! 
> >
> 
> Good idea, could you open a new issue here: 
> http://jira.xwiki.org/jira/browse/XABLOG
> 
> -- 
> Sergiu Dumitriu 
> http://purl.org/net/sergiu/
> ___ 
> users mailing list 
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 
> 
> __
> View message @ http://n2.nabble.com/Blog-Clone-tp507547p4151544.html 
> To unsubscribe from Re: Blog/Clone, click here.
> 


-- 
Met vriendelijke groet,

Vincent Gerris (SL 2.34)

De Haagse Hogeschool
Dienst ICT
v.j.ger...@hhs.nl
Tel: 070 445 7468



-- 
View this message in context: 
http://n2.nabble.com/Blog-Clone-tp507547p4164054.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-11 Thread Sergiu Dumitriu
On 12/11/2009 02:50 PM, Vincent Gerris wrote:
>
> hi Vincent,
>
> I am really happy with the new editor, I can use backslashes again now :) \.
> We also made a few modifications to the Blog, which makes it possible to
> post when in a category.
> A wannahave would be to be able to do this and have the current category
> marked in the publish screen by default :).
>
> Thanks a lot!
>

Good idea, could you open a new issue here:
http://jira.xwiki.org/jira/browse/XABLOG

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-11 Thread Vincent Gerris

hi Vincent,

I am really happy with the new editor, I can use backslashes again now :) \.
We also made a few modifications to the Blog, which makes it possible to
post when in a category.
A wannahave would be to be able to do this and have the current category
marked in the publish screen by default :).

Thanks a lot!

Kind regards,
Vincent Gerris


vmassol wrote:
> 
> 
> On Dec 10, 2009, at 4:30 PM, Vincent Gerris wrote:
> 
>>
>> hi Vincent,
>>
>> Thank you for your response.
>> I have a full agenda these days, but I will try to evaluate 2.1RC1.
> 
> 2.1 final is now out... :-)
> 
> -Vincent
> 
>> We will probably upgrade from 1.9.3 to 2.1 release anyway when it  
>> comes out,
>> but I am waiting for servers to be made ready to do a new install  
>> and off
>> course we will report issues on that.
>>
>> Thank you (and your collegues) for all your work!
>> Given there are some issues with XWiki, we do really like the  
>> product and
>> the way it is built!
>>
>> Kind regards,
>> Vincent Gerris
>>
>>
>> vmassol wrote:
>>>
>>> Hi Vincent,
>>>
>>> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> I just did something like this recently and think I can explain it
>>>> briefly.
>>>> It's a bit of work and I get some errors I do not understand, but it
>>>> works.
>>>> Here's how I did it:
>>>>
>>>> 1. Make a complete export of the Wiki in the admin backend.
>>>> 2. Extract the XAR you have.
>>>> 3. Edit package.xml : remove all lines NOT referring to the Blog
>>>> space.
>>>> 4. Delete all folders except the Blog one.
>>>> 5. Decide the spacenaam you would like to give it: I chose Blogboek
>>>> (let's
>>>> call it that for the rest of this explanation).
>>>> 6. Change the foldername to Blogboek.
>>>> 7. Change all references to Blog in Blogboek. I did that by running
>>>> a script
>>>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>>>> 8. You should now have the package.xml containing the subscription
>>>> of the
>>>> files in the Blogboek folder. Note that this also contains all the
>>>> Blog-posts that were in the Blog space.
>>>> 9. To get the categories displayed properly, change line 113 in
>>>> CategoriesPanel.xml:
>>>> #getCategoriesHierarchy('Blogboek' $tree)
>>>> 10. When ready, put everything in a zip and rename it to XAR. MAke
>>>> sure the
>>>> folder and file are in the root of the zip, not in a folder (chack
>>>> by view
>>>> it).
>>>> 11. Now you can import the XAR in the Xwiki admin backend.
>>>>
>>>> The only error I encounteres was a list of files named Blog.xxx.xxx
>>>> that
>>>> were not imported.
>>>> It seems somehow there is metadata that knows the files came from
>>>> the Blog
>>>> space.
>>>> The other files (Blogboek.xxx.xxx) are imported correctly, so the
>>>> result was
>>>> what I wanted:
>>>> a seperate space with the complete Blog functionality, seperate from
>>>> the
>>>> Xwiki core.
>>>>
>>>> Note that Blog is in development and there are irritating bugs in  
>>>> the
>>>> editor.
>>>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>>>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>>>
>>>> I really hope a syntax 2 version will be in a coming Xwiki release
>>>> using the
>>>> new editor.
>>>
>>> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later
>>> today :)
>>>
>>> We'd love if you could try it out and let us know if there are any
>>> issue so that we can fix them before the XE 2.1 final planned for  
>>> next
>>> week.
>>>
>>> Thanks
>>> -Vincent
>>>
>>>> Thank you all for your help, hope this is usefull!
>>>>
>>>>
>>>>
>>>>
>>>> vmassol wrote:
>>>>>
>>>>> Since this is such a frequently asked question it would be nice if
>>>>> someone could:
>>>>>
>>>>> 1) document it on xwiki.org, either:
>>>>> - in the FAQ
>>

Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Massol

On Dec 10, 2009, at 4:30 PM, Vincent Gerris wrote:

>
> hi Vincent,
>
> Thank you for your response.
> I have a full agenda these days, but I will try to evaluate 2.1RC1.

2.1 final is now out... :-)

-Vincent

> We will probably upgrade from 1.9.3 to 2.1 release anyway when it  
> comes out,
> but I am waiting for servers to be made ready to do a new install  
> and off
> course we will report issues on that.
>
> Thank you (and your collegues) for all your work!
> Given there are some issues with XWiki, we do really like the  
> product and
> the way it is built!
>
> Kind regards,
> Vincent Gerris
>
>
> vmassol wrote:
>>
>> Hi Vincent,
>>
>> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:
>>
>>>
>>> Hi all,
>>>
>>> I just did something like this recently and think I can explain it
>>> briefly.
>>> It's a bit of work and I get some errors I do not understand, but it
>>> works.
>>> Here's how I did it:
>>>
>>> 1. Make a complete export of the Wiki in the admin backend.
>>> 2. Extract the XAR you have.
>>> 3. Edit package.xml : remove all lines NOT referring to the Blog
>>> space.
>>> 4. Delete all folders except the Blog one.
>>> 5. Decide the spacenaam you would like to give it: I chose Blogboek
>>> (let's
>>> call it that for the rest of this explanation).
>>> 6. Change the foldername to Blogboek.
>>> 7. Change all references to Blog in Blogboek. I did that by running
>>> a script
>>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>>> 8. You should now have the package.xml containing the subscription
>>> of the
>>> files in the Blogboek folder. Note that this also contains all the
>>> Blog-posts that were in the Blog space.
>>> 9. To get the categories displayed properly, change line 113 in
>>> CategoriesPanel.xml:
>>> #getCategoriesHierarchy('Blogboek' $tree)
>>> 10. When ready, put everything in a zip and rename it to XAR. MAke
>>> sure the
>>> folder and file are in the root of the zip, not in a folder (chack
>>> by view
>>> it).
>>> 11. Now you can import the XAR in the Xwiki admin backend.
>>>
>>> The only error I encounteres was a list of files named Blog.xxx.xxx
>>> that
>>> were not imported.
>>> It seems somehow there is metadata that knows the files came from
>>> the Blog
>>> space.
>>> The other files (Blogboek.xxx.xxx) are imported correctly, so the
>>> result was
>>> what I wanted:
>>> a seperate space with the complete Blog functionality, seperate from
>>> the
>>> Xwiki core.
>>>
>>> Note that Blog is in development and there are irritating bugs in  
>>> the
>>> editor.
>>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>>
>>> I really hope a syntax 2 version will be in a coming Xwiki release
>>> using the
>>> new editor.
>>
>> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later
>> today :)
>>
>> We'd love if you could try it out and let us know if there are any
>> issue so that we can fix them before the XE 2.1 final planned for  
>> next
>> week.
>>
>> Thanks
>> -Vincent
>>
>>> Thank you all for your help, hope this is usefull!
>>>
>>>
>>>
>>>
>>> vmassol wrote:
>>>>
>>>> Since this is such a frequently asked question it would be nice if
>>>> someone could:
>>>>
>>>> 1) document it on xwiki.org, either:
>>>> - in the FAQ
>>>> - as a code snippet on http://dev.xwiki.org
>>>>
>>>> or even better:
>>>>
>>>> 2) create an application (XAR) that does this and upload it on
>>>> http://code.xwiki.org
>>>>
>>>> Anyone up for this? :)
>>>>
>>>> Thanks
>>>> -Vincent
>>>>
>>>> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
>>>>
>>>>> that's what I was thinking but I continue to get an error when I
>>>>> create a ClassSheet (it will not allow me to). I keep getting an
>>>>> error every time. a 4.26 while parsing velocity error. Do you have
>>>>> any information or installation errors I might have? Are certain
>>>>

Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Gerris

hi Vincent,

Thank you for your response.
I have a full agenda these days, but I will try to evaluate 2.1RC1.
We will probably upgrade from 1.9.3 to 2.1 release anyway when it comes out,
but I am waiting for servers to be made ready to do a new install and off
course we will report issues on that.

Thank you (and your collegues) for all your work!
Given there are some issues with XWiki, we do really like the product and
the way it is built!

Kind regards,
Vincent Gerris


vmassol wrote:
> 
> Hi Vincent,
> 
> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:
> 
>>
>> Hi all,
>>
>> I just did something like this recently and think I can explain it  
>> briefly.
>> It's a bit of work and I get some errors I do not understand, but it  
>> works.
>> Here's how I did it:
>>
>> 1. Make a complete export of the Wiki in the admin backend.
>> 2. Extract the XAR you have.
>> 3. Edit package.xml : remove all lines NOT referring to the Blog  
>> space.
>> 4. Delete all folders except the Blog one.
>> 5. Decide the spacenaam you would like to give it: I chose Blogboek  
>> (let's
>> call it that for the rest of this explanation).
>> 6. Change the foldername to Blogboek.
>> 7. Change all references to Blog in Blogboek. I did that by running  
>> a script
>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>> 8. You should now have the package.xml containing the subscription  
>> of the
>> files in the Blogboek folder. Note that this also contains all the
>> Blog-posts that were in the Blog space.
>> 9. To get the categories displayed properly, change line 113 in
>> CategoriesPanel.xml:
>> #getCategoriesHierarchy('Blogboek' $tree)
>> 10. When ready, put everything in a zip and rename it to XAR. MAke  
>> sure the
>> folder and file are in the root of the zip, not in a folder (chack  
>> by view
>> it).
>> 11. Now you can import the XAR in the Xwiki admin backend.
>>
>> The only error I encounteres was a list of files named Blog.xxx.xxx  
>> that
>> were not imported.
>> It seems somehow there is metadata that knows the files came from  
>> the Blog
>> space.
>> The other files (Blogboek.xxx.xxx) are imported correctly, so the  
>> result was
>> what I wanted:
>> a seperate space with the complete Blog functionality, seperate from  
>> the
>> Xwiki core.
>>
>> Note that Blog is in development and there are irritating bugs in the
>> editor.
>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>
>> I really hope a syntax 2 version will be in a coming Xwiki release  
>> using the
>> new editor.
> 
> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later  
> today :)
> 
> We'd love if you could try it out and let us know if there are any  
> issue so that we can fix them before the XE 2.1 final planned for next  
> week.
> 
> Thanks
> -Vincent
> 
>> Thank you all for your help, hope this is usefull!
>>
>>
>>
>>
>> vmassol wrote:
>>>
>>> Since this is such a frequently asked question it would be nice if
>>> someone could:
>>>
>>> 1) document it on xwiki.org, either:
>>> - in the FAQ
>>> - as a code snippet on http://dev.xwiki.org
>>>
>>> or even better:
>>>
>>> 2) create an application (XAR) that does this and upload it on
>>> http://code.xwiki.org
>>>
>>> Anyone up for this? :)
>>>
>>> Thanks
>>> -Vincent
>>>
>>> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
>>>
>>>> that's what I was thinking but I continue to get an error when I
>>>> create a ClassSheet (it will not allow me to). I keep getting an
>>>> error every time. a 4.26 while parsing velocity error. Do you have
>>>> any information or installation errors I might have? Are certain
>>>> velocity or java files/programs necessary that are not in the
>>>> documentation?
>>>>
>>>> Thanks in advance,
>>>> Tim
>>>>
>>>> 
>>>>
>>>> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
>>>> Sent: Tue 1/8/2008 12:50 PM
>>>> To: XWiki Users
>>>> Subject: Re: [xwiki-users] Blog/Clone
>>>>
>>>>
>>>> Hi Tim,
>>>>
>>>> If you look through Nabble, this has been 

Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Sergiu Dumitriu
On 12/10/2009 02:50 PM, Vincent Gerris wrote:
>
> Hi Sergiu,
>
> The form was not exactly matching our needs, because it leaves the
> categories in the Blog space, while the document are in another (as far I
> could see).

Yes, this is known and should be fixed in the future.

> We have a seperate space for all our documents, because we prefer to not be
> forced to update standard components that we use.
> Since Blog is in the XWiki core now, an update of the core might change our
> functionality, which we would like to keep in our own hands.
>
> I am lloking forward to the Blog being included as a seperate space,
> especially because there are many changes in it related to the XWiki 2
> syntaxis.
>
> Thank you for your quick reply, I hope my answer is usefull.
>
>
> Sergiu Dumitriu-2 wrote:
>>
>> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
>>> Hi Vincent,
>>>
>>> can you try this next time you need to create a new blog in your wiki:
>>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>>>
>>> and tell me how it goes?
>>>
>>> Guillaume
>>
>> This is still too complicated. A shorter process:
>>
>> 1. Go to http:///xwiki/bin/view/Blog/Management
>> 2. Use the form in that page.


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Gerris

Hi Sergiu,

The form was not exactly matching our needs, because it leaves the
categories in the Blog space, while the document are in another (as far I
could see).

We have a seperate space for all our documents, because we prefer to not be
forced to update standard components that we use.
Since Blog is in the XWiki core now, an update of the core might change our
functionality, which we would like to keep in our own hands.

I am lloking forward to the Blog being included as a seperate space,
especially because there are many changes in it related to the XWiki 2
syntaxis.

Thank you for your quick reply, I hope my answer is usefull.


Sergiu Dumitriu-2 wrote:
> 
> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
>> Hi Vincent,
>>
>> can you try this next time you need to create a new blog in your wiki:
>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>>
>> and tell me how it goes?
>>
>> Guillaume
> 
> This is still too complicated. A shorter process:
> 
> 1. Go to http:///xwiki/bin/view/Blog/Management
> 2. Use the form in that page.
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-Clone-tp507547p4145419.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi,

On Thu, Dec 3, 2009 at 2:28 PM, Vincent Massol  wrote:

>
> On Dec 3, 2009, at 2:15 PM, Guillaume Lerouge wrote:
>
> > Hi,
> >
> > On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu 
> > wrote:
> >
> >> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
> >>> Hi Vincent,
> >>>
> >>> can you try this next time you need to create a new blog in your
> >>> wiki:
> >>>
> >>
> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
> >>>
> >>> and tell me how it goes?
> >>>
> >>> Guillaume
> >>
> >> This is still too complicated. A shorter process:
> >>
> >> 1. Go to http:///xwiki/bin/view/Blog/Management
> >> 2. Use the form in that page.
> >>
> >
> > I didn't even know this page existed. Pretty neat :-)
> >
> > We should add a link to this page in the administration or
> > somewhere...
>
> Agreed. We have "Blog Categories" right now in the admin. Maybe this
> should be renamed to "Blog" and have 2 sections in there:
> - one for managing categories
> - one for creating/managing blogs
>

Sounds good to me.

Guillaume


> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Massol

On Dec 3, 2009, at 2:15 PM, Guillaume Lerouge wrote:

> Hi,
>
> On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu   
> wrote:
>
>> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
>>> Hi Vincent,
>>>
>>> can you try this next time you need to create a new blog in your  
>>> wiki:
>>>
>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>>>
>>> and tell me how it goes?
>>>
>>> Guillaume
>>
>> This is still too complicated. A shorter process:
>>
>> 1. Go to http:///xwiki/bin/view/Blog/Management
>> 2. Use the form in that page.
>>
>
> I didn't even know this page existed. Pretty neat :-)
>
> We should add a link to this page in the administration or  
> somewhere...

Agreed. We have "Blog Categories" right now in the admin. Maybe this  
should be renamed to "Blog" and have 2 sections in there:
- one for managing categories
- one for creating/managing blogs

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi,

On Thu, Dec 3, 2009 at 1:52 PM, Sergiu Dumitriu  wrote:

> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
> > Hi Vincent,
> >
> > can you try this next time you need to create a new blog in your wiki:
> >
> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
> >
> > and tell me how it goes?
> >
> > Guillaume
>
> This is still too complicated. A shorter process:
>
> 1. Go to http:///xwiki/bin/view/Blog/Management
> 2. Use the form in that page.
>

I didn't even know this page existed. Pretty neat :-)

We should add a link to this page in the administration or somewhere...

Guillaume


> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Sergiu Dumitriu
On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
> Hi Vincent,
>
> can you try this next time you need to create a new blog in your wiki:
> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>
> and tell me how it goes?
>
> Guillaume

This is still too complicated. A shorter process:

1. Go to http:///xwiki/bin/view/Blog/Management
2. Use the form in that page.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi Vincent,

can you try this next time you need to create a new blog in your wiki:
http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis

and tell me how it goes?

Guillaume

On Thu, Dec 3, 2009 at 11:42 AM, Guillaume Lerouge wrote:

> Hi Vincent,
>
> On Thu, Dec 3, 2009 at 11:14 AM, Vincent Gerris  wrote:
>
>>
>> Hi all,
>>
>> I just did something like this recently and think I can explain it
>> briefly.
>> It's a bit of work and I get some errors I do not understand, but it
>> works.
>> Here's how I did it:
>>
>> 1. Make a complete export of the Wiki in the admin backend.
>> 2. Extract the XAR you have.
>> 3. Edit package.xml : remove all lines NOT referring to the Blog space.
>> 4. Delete all folders except the Blog one.
>> 5. Decide the spacenaam you would like to give it: I chose Blogboek (let's
>> call it that for the rest of this explanation).
>> 6. Change the foldername to Blogboek.
>> 7. Change all references to Blog in Blogboek. I did that by running a
>> script
>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>> 8. You should now have the package.xml containing the subscription of the
>> files in the Blogboek folder. Note that this also contains all the
>> Blog-posts that were in the Blog space.
>> 9. To get the categories displayed properly, change line 113 in
>> CategoriesPanel.xml:
>> #getCategoriesHierarchy('Blogboek' $tree)
>> 10. When ready, put everything in a zip and rename it to XAR. MAke sure
>> the
>> folder and file are in the root of the zip, not in a folder (chack by view
>> it).
>> 11. Now you can import the XAR in the Xwiki admin backend.
>>
>> The only error I encounteres was a list of files named Blog.xxx.xxx that
>> were not imported.
>> It seems somehow there is metadata that knows the files came from the Blog
>> space.
>> The other files (Blogboek.xxx.xxx) are imported correctly, so the result
>> was
>> what I wanted:
>> a seperate space with the complete Blog functionality, seperate from the
>> Xwiki core.
>>
>> Note that Blog is in development and there are irritating bugs in the
>> editor.
>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>
>> I really hope a syntax 2 version will be in a coming Xwiki release using
>> the
>> new editor.
>> Thank you all for your help, hope this is usefull!
>
>
> You really went through a painful process. There's a much easier way to
> create a new blog instance in your wiki. I'll document it ASAP and will
> point to the documentation page from here.
>
> Guillaume
>
>
>>
>>
>> vmassol wrote:
>> >
>> > Since this is such a frequently asked question it would be nice if
>> > someone could:
>> >
>> > 1) document it on xwiki.org, either:
>> > - in the FAQ
>> > - as a code snippet on http://dev.xwiki.org
>> >
>> > or even better:
>> >
>> > 2) create an application (XAR) that does this and upload it on
>> > http://code.xwiki.org
>> >
>> > Anyone up for this? :)
>> >
>> > Thanks
>> > -Vincent
>> >
>> > On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
>> >
>> >> that's what I was thinking but I continue to get an error when I
>> >> create a ClassSheet (it will not allow me to). I keep getting an
>> >> error every time. a 4.26 while parsing velocity error. Do you have
>> >> any information or installation errors I might have? Are certain
>> >> velocity or java files/programs necessary that are not in the
>> >> documentation?
>> >>
>> >> Thanks in advance,
>> >> Tim
>> >>
>> >> 
>> >>
>> >> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
>> >> Sent: Tue 1/8/2008 12:50 PM
>> >> To: XWiki Users
>> >> Subject: Re: [xwiki-users] Blog/Clone
>> >>
>> >>
>> >> Hi Tim,
>> >>
>> >> If you look through Nabble, this has been described a few times
>> >> before.  It's fairly easy to do.
>> >>
>> >> 
>> >>
>> >> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
>> >> Behalf Of Campbell, Timothy D
>>

Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Guillaume Lerouge
Hi Vincent,

On Thu, Dec 3, 2009 at 11:14 AM, Vincent Gerris  wrote:

>
> Hi all,
>
> I just did something like this recently and think I can explain it briefly.
> It's a bit of work and I get some errors I do not understand, but it works.
> Here's how I did it:
>
> 1. Make a complete export of the Wiki in the admin backend.
> 2. Extract the XAR you have.
> 3. Edit package.xml : remove all lines NOT referring to the Blog space.
> 4. Delete all folders except the Blog one.
> 5. Decide the spacenaam you would like to give it: I chose Blogboek (let's
> call it that for the rest of this explanation).
> 6. Change the foldername to Blogboek.
> 7. Change all references to Blog in Blogboek. I did that by running a
> script
> on the commandline (using Linux) that replaces .Blog by .Blogboek.
> 8. You should now have the package.xml containing the subscription of the
> files in the Blogboek folder. Note that this also contains all the
> Blog-posts that were in the Blog space.
> 9. To get the categories displayed properly, change line 113 in
> CategoriesPanel.xml:
> #getCategoriesHierarchy('Blogboek' $tree)
> 10. When ready, put everything in a zip and rename it to XAR. MAke sure the
> folder and file are in the root of the zip, not in a folder (chack by view
> it).
> 11. Now you can import the XAR in the Xwiki admin backend.
>
> The only error I encounteres was a list of files named Blog.xxx.xxx that
> were not imported.
> It seems somehow there is metadata that knows the files came from the Blog
> space.
> The other files (Blogboek.xxx.xxx) are imported correctly, so the result
> was
> what I wanted:
> a seperate space with the complete Blog functionality, seperate from the
> Xwiki core.
>
> Note that Blog is in development and there are irritating bugs in the
> editor.
> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
> http://jira.xwiki.org/jira/browse/XABLOG-63
>
> I really hope a syntax 2 version will be in a coming Xwiki release using
> the
> new editor.
> Thank you all for your help, hope this is usefull!


You really went through a painful process. There's a much easier way to
create a new blog instance in your wiki. I'll document it ASAP and will
point to the documentation page from here.

Guillaume


>
>
> vmassol wrote:
> >
> > Since this is such a frequently asked question it would be nice if
> > someone could:
> >
> > 1) document it on xwiki.org, either:
> > - in the FAQ
> > - as a code snippet on http://dev.xwiki.org
> >
> > or even better:
> >
> > 2) create an application (XAR) that does this and upload it on
> > http://code.xwiki.org
> >
> > Anyone up for this? :)
> >
> > Thanks
> > -Vincent
> >
> > On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
> >
> >> that's what I was thinking but I continue to get an error when I
> >> create a ClassSheet (it will not allow me to). I keep getting an
> >> error every time. a 4.26 while parsing velocity error. Do you have
> >> any information or installation errors I might have? Are certain
> >> velocity or java files/programs necessary that are not in the
> >> documentation?
> >>
> >> Thanks in advance,
> >> Tim
> >>
> >> 
> >>
> >> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
> >> Sent: Tue 1/8/2008 12:50 PM
> >> To: XWiki Users
> >> Subject: Re: [xwiki-users] Blog/Clone
> >>
> >>
> >> Hi Tim,
> >>
> >> If you look through Nabble, this has been described a few times
> >> before.  It's fairly easy to do.
> >>
> >> 
> >>
> >> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
> >> Behalf Of Campbell, Timothy D
> >> Sent: 08 January 2008 17:39
> >> To: users@xwiki.org
> >> Subject: [xwiki-users] Blog/Clone
> >>
> >>
> >> Has anyone successfully created a second blog in a single wiki? If
> >> so, please give me some guidence on how to do this task. Also, what
> >> could be a source of a velocity parsing error while creating a class
> >> sheet? Please respond to help progress my research.
> >>
> >> Thanks in advance,
> >> Tim
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Blog-Clone-tp507547p4105195.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Massol
Hi Vincent,

On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:

>
> Hi all,
>
> I just did something like this recently and think I can explain it  
> briefly.
> It's a bit of work and I get some errors I do not understand, but it  
> works.
> Here's how I did it:
>
> 1. Make a complete export of the Wiki in the admin backend.
> 2. Extract the XAR you have.
> 3. Edit package.xml : remove all lines NOT referring to the Blog  
> space.
> 4. Delete all folders except the Blog one.
> 5. Decide the spacenaam you would like to give it: I chose Blogboek  
> (let's
> call it that for the rest of this explanation).
> 6. Change the foldername to Blogboek.
> 7. Change all references to Blog in Blogboek. I did that by running  
> a script
> on the commandline (using Linux) that replaces .Blog by .Blogboek.
> 8. You should now have the package.xml containing the subscription  
> of the
> files in the Blogboek folder. Note that this also contains all the
> Blog-posts that were in the Blog space.
> 9. To get the categories displayed properly, change line 113 in
> CategoriesPanel.xml:
> #getCategoriesHierarchy('Blogboek' $tree)
> 10. When ready, put everything in a zip and rename it to XAR. MAke  
> sure the
> folder and file are in the root of the zip, not in a folder (chack  
> by view
> it).
> 11. Now you can import the XAR in the Xwiki admin backend.
>
> The only error I encounteres was a list of files named Blog.xxx.xxx  
> that
> were not imported.
> It seems somehow there is metadata that knows the files came from  
> the Blog
> space.
> The other files (Blogboek.xxx.xxx) are imported correctly, so the  
> result was
> what I wanted:
> a seperate space with the complete Blog functionality, seperate from  
> the
> Xwiki core.
>
> Note that Blog is in development and there are irritating bugs in the
> editor.
> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
> http://jira.xwiki.org/jira/browse/XABLOG-63
>
> I really hope a syntax 2 version will be in a coming Xwiki release  
> using the
> new editor.

The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later  
today :)

We'd love if you could try it out and let us know if there are any  
issue so that we can fix them before the XE 2.1 final planned for next  
week.

Thanks
-Vincent

> Thank you all for your help, hope this is usefull!
>
>
>
>
> vmassol wrote:
>>
>> Since this is such a frequently asked question it would be nice if
>> someone could:
>>
>> 1) document it on xwiki.org, either:
>> - in the FAQ
>> - as a code snippet on http://dev.xwiki.org
>>
>> or even better:
>>
>> 2) create an application (XAR) that does this and upload it on
>> http://code.xwiki.org
>>
>> Anyone up for this? :)
>>
>> Thanks
>> -Vincent
>>
>> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
>>
>>> that's what I was thinking but I continue to get an error when I
>>> create a ClassSheet (it will not allow me to). I keep getting an
>>> error every time. a 4.26 while parsing velocity error. Do you have
>>> any information or installation errors I might have? Are certain
>>> velocity or java files/programs necessary that are not in the
>>> documentation?
>>>
>>> Thanks in advance,
>>> Tim
>>>
>>> 
>>>
>>> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
>>> Sent: Tue 1/8/2008 12:50 PM
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Blog/Clone
>>>
>>>
>>> Hi Tim,
>>>
>>> If you look through Nabble, this has been described a few times
>>> before.  It's fairly easy to do.
>>>
>>> 
>>>
>>> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
>>> Behalf Of Campbell, Timothy D
>>> Sent: 08 January 2008 17:39
>>> To: users@xwiki.org
>>> Subject: [xwiki-users] Blog/Clone
>>>
>>>
>>> Has anyone successfully created a second blog in a single wiki? If
>>> so, please give me some guidence on how to do this task. Also, what
>>> could be a source of a velocity parsing error while creating a class
>>> sheet? Please respond to help progress my research.
>>>
>>> Thanks in advance,
>>> Tim
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-03 Thread Vincent Gerris

Hi all,

I just did something like this recently and think I can explain it briefly.
It's a bit of work and I get some errors I do not understand, but it works.
Here's how I did it:

1. Make a complete export of the Wiki in the admin backend.
2. Extract the XAR you have.
3. Edit package.xml : remove all lines NOT referring to the Blog space.
4. Delete all folders except the Blog one.
5. Decide the spacenaam you would like to give it: I chose Blogboek (let's
call it that for the rest of this explanation).
6. Change the foldername to Blogboek.
7. Change all references to Blog in Blogboek. I did that by running a script
on the commandline (using Linux) that replaces .Blog by .Blogboek.
8. You should now have the package.xml containing the subscription of the
files in the Blogboek folder. Note that this also contains all the
Blog-posts that were in the Blog space. 
9. To get the categories displayed properly, change line 113 in
CategoriesPanel.xml:
#getCategoriesHierarchy('Blogboek' $tree)
10. When ready, put everything in a zip and rename it to XAR. MAke sure the
folder and file are in the root of the zip, not in a folder (chack by view
it).
11. Now you can import the XAR in the Xwiki admin backend.

The only error I encounteres was a list of files named Blog.xxx.xxx that
were not imported.
It seems somehow there is metadata that knows the files came from the Blog
space.
The other files (Blogboek.xxx.xxx) are imported correctly, so the result was
what I wanted:
a seperate space with the complete Blog functionality, seperate from the
Xwiki core.

Note that Blog is in development and there are irritating bugs in the
editor.
http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
http://jira.xwiki.org/jira/browse/XABLOG-63

I really hope a syntax 2 version will be in a coming Xwiki release using the
new editor.
Thank you all for your help, hope this is usefull!




vmassol wrote:
> 
> Since this is such a frequently asked question it would be nice if  
> someone could:
> 
> 1) document it on xwiki.org, either:
> - in the FAQ
> - as a code snippet on http://dev.xwiki.org
> 
> or even better:
> 
> 2) create an application (XAR) that does this and upload it on
> http://code.xwiki.org
> 
> Anyone up for this? :)
> 
> Thanks
> -Vincent
> 
> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
> 
>> that's what I was thinking but I continue to get an error when I  
>> create a ClassSheet (it will not allow me to). I keep getting an  
>> error every time. a 4.26 while parsing velocity error. Do you have  
>> any information or installation errors I might have? Are certain  
>> velocity or java files/programs necessary that are not in the  
>> documentation?
>>
>> Thanks in advance,
>> Tim
>>
>> ____________
>>
>> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
>> Sent: Tue 1/8/2008 12:50 PM
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Blog/Clone
>>
>>
>> Hi Tim,
>>
>> If you look through Nabble, this has been described a few times  
>> before.  It's fairly easy to do.
>>
>> 
>>
>> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On  
>> Behalf Of Campbell, Timothy D
>> Sent: 08 January 2008 17:39
>> To: users@xwiki.org
>> Subject: [xwiki-users] Blog/Clone
>>
>>
>> Has anyone successfully created a second blog in a single wiki? If  
>> so, please give me some guidence on how to do this task. Also, what  
>> could be a source of a velocity parsing error while creating a class  
>> sheet? Please respond to help progress my research.
>>
>> Thanks in advance,
>> Tim
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-Clone-tp507547p4105195.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries all show November 12th, 2008 as the creation date.

2009-05-12 Thread timmr72

No problem. I've just posted the issue.

Thanks,
Tim


vmassol wrote:
> 
> Hi Tim,
> 
> Could you please report an issue at http://jira.xwiki.org ?
> 
> Thanks
> -Vincent
> 
> On May 11, 2009, at 11:46 PM, timmr72 wrote:
> 
>>
>> Bummer. Doesn't work from IE6 or IE7 for me. Firefox and Safari are  
>> fine. Too
>> bad 85% of my users have IE 6 or 7. Any ideas on this?
>>
>> Thanks again,
>> Timmr72
>>
>>
>>
>> Well,
>> It appears to be an issue with IE7 (or at least my install of IE7).  
>> I'm not
>> having the issue in Firefox.
>>
>> Thanks
>>
>> timmr72 wrote:
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-entries-all-show-November-12th%2C-2008-as-the-creation-date.-tp2864697p2869134.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries all show November 12th, 2008 as the creation date.

2009-05-11 Thread Vincent Massol
Hi Tim,

Could you please report an issue at http://jira.xwiki.org ?

Thanks
-Vincent

On May 11, 2009, at 11:46 PM, timmr72 wrote:

>
> Bummer. Doesn't work from IE6 or IE7 for me. Firefox and Safari are  
> fine. Too
> bad 85% of my users have IE 6 or 7. Any ideas on this?
>
> Thanks again,
> Timmr72
>
>
>
> Well,
> It appears to be an issue with IE7 (or at least my install of IE7).  
> I'm not
> having the issue in Firefox.
>
> Thanks
>
> timmr72 wrote:
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries all show November 12th, 2008 as the creation date.

2009-05-11 Thread timmr72

Bummer. Doesn't work from IE6 or IE7 for me. Firefox and Safari are fine. Too
bad 85% of my users have IE 6 or 7. Any ideas on this?

Thanks again,
Timmr72



Well,
It appears to be an issue with IE7 (or at least my install of IE7). I'm not
having the issue in Firefox.

Thanks

timmr72 wrote:
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-entries-all-show-November-12th%2C-2008-as-the-creation-date.-tp2864697p2865645.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog entries all show November 12th, 2008 as the creation date.

2009-05-11 Thread timmr72

Well,
It appears to be an issue with IE7 (or at least my install of IE7). I'm not
having the issue in Firefox.

Thanks


-- 
View this message in context: 
http://n2.nabble.com/Blog-entries-all-show-November-12th%2C-2008-as-the-creation-date.-tp2864697p2865205.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog with wiki 2.0 syntax

2009-05-04 Thread Sergiu Dumitriu
Andreas Schaefer wrote:
> Hi
> 
> After a while I figured out how to add code blocks etc to a blog  
> entry. This seems to use the wiki 1.0 syntax and I was wondering if  
> there is a chance to use 2.0 instead because I only use 2.0 for the  
> wikis and I would love to keep one syntax around.
> 
> Cheers

The 2.0 syntax (and renderer and wysiwyg editor) are still in 
development, so we didn't switch applications to the new syntax yet. 
Thus, all the supporting code of the Blog application is written in the 
1.0 syntax. While theoretically you could use 2.0 documents for blog 
posts, it won't work 100%.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-05 Thread Ludovic Dubost

Make sure you have created the indexes of your DB

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration

If you have more than 500 docs this is absolutely needed.

Ludovic

Elek Márton wrote:
>> Can you start by verifying if the problem is in your database, in your
>> web server (if you have any) or in XWiki?
>> 
>
> I tried it in two different machine with two different configuration
> (tomcat + myql and the  simple XWiki distribution with jetty +
> embedded db) but the results were the same, so I think the problem is
> in the XWiki. (I am planning to profile it with VisualVM or NetBeans.)
>
> The News page at XWiki.org is also rendered a little slowly for me
> (http://www.xwiki.org/xwiki/bin/view/Main/News?category=&nbstart=4 is
> retrieved between 5 and 7 seconds).
>
>   
>> Is this a large wiki?
>> 
>
> Sure. We are trying to migrate a snipsnap based wiki
> (http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and
> also a lot of wiki pages.
>
> m.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Sergiu Dumitriu
Vincent Massol wrote:
> On Jan 4, 2009, at 9:53 PM, Elek Márton wrote:
> 
>>> Can you start by verifying if the problem is in your database, in  
>>> your
>>> web server (if you have any) or in XWiki?
>> I tried it in two different machine with two different configuration
>> (tomcat + myql and the  simple XWiki distribution with jetty +
>> embedded db) but the results were the same, so I think the problem is
>> in the XWiki. (I am planning to profile it with VisualVM or NetBeans.)
>>
>> The News page at XWiki.org is also rendered a little slowly for me
>> (http://www.xwiki.org/xwiki/bin/view/Main/News?category=&nbstart=4 is
>> retrieved between 5 and 7 seconds).
> 
> For xwiki.org the page is cached and it would be normal since it's  
> remote so you need to add up network times.
> 
>>> Is this a large wiki?
>> Sure. We are trying to migrate a snipsnap based wiki
>> (http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and
>> also a lot of wiki pages.
> 
> Ok so that's probably the reason then. We must have some bugs in the  
> old blog post (intensive queries) that are only visible when there are  
> lots of blog posts.
> 
> Fortunately we've fully rewritten it from scratch and improved it a  
> lot. We're almost ready to release it. Do you think you could try it:
> http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/

Since this is quite long, a short summary first:

1. The old blog app is buggy, in Blog.WebHome #includeMacros should be
replaced with #includeTopic.
2. With several thousands articles, most of the time is spent in
searchDocuments (just this one call takes more than 90% of the time).
3. Still, the query is not that complex, and with 2000 documents * 2000
objects a serious database should not have any problems.
4. The new blog application is slightly slower than the old one (if the
bug in point 1 is fixed) as an acceptable cost for the new published
feature.



I just ran some tests on the old and new blog applications, with the
following results:

- The old blog application had a bug which caused all the articles to be
displayed in a discarded buffer. The problem is that Blog.WebHome uses
#includeMacros to include the Blog.Macros page (which behaves more like
a sheet than a macro container document). The current rendering engine
pre-parses all the documents included with #includeMacros, and for the
initial parsing the $nbstart and $nbitems variables are not defined, so
#blog($category $nbitems $nbstart) will actually process all the blog
entries (but in a discarded buffer, so nothing gets printed to the
user). For the second run, when the result is actually printed, the
correct values are used for $nbitems and $nbstart, so only 10 items are
displayed. A quick fix is to replace #includeMacros with #includeTopic,
which works just fine.

After fixing this bug, some performance numbers:

- With 1000 documents it takes about 0.4 seconds to display the blog
homepage in both applications.
- With 2000 documents, it takes about 1.5 seconds to display the blog
homepage in the old application, and a bit more (but still under 2
seconds) in the new application. Most of this time is spent in the
getDocuments call (1.3 seconds), due to the large number of entities
that have to be joined (2000+ XWikiDoc * 2000+ BaseObject * many
thousands properties). This time was achieved on a laptop (2.26GHz dual
core) with the default jetty + hsqldb distribution.
- The new blog takes more to run the search query because it also has to
join with the 'published' and 'hidden' properties, which is a new
feature of the new application. The performance penalty is not that big,
so this is IMHO an acceptable cost.
- I didn't run a performance test on Glassfish+Derby or on Tomcat+mySQL,
but I think that with the right indexes in place it will be a lot
better. 2000 documents is not that much for a serious database, but it
seems to be quite a lot for hsql.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Vincent Massol

On Jan 4, 2009, at 9:53 PM, Elek Márton wrote:

>> Can you start by verifying if the problem is in your database, in  
>> your
>> web server (if you have any) or in XWiki?
>
> I tried it in two different machine with two different configuration
> (tomcat + myql and the  simple XWiki distribution with jetty +
> embedded db) but the results were the same, so I think the problem is
> in the XWiki. (I am planning to profile it with VisualVM or NetBeans.)
>
> The News page at XWiki.org is also rendered a little slowly for me
> (http://www.xwiki.org/xwiki/bin/view/Main/News?category=&nbstart=4 is
> retrieved between 5 and 7 seconds).

For xwiki.org the page is cached and it would be normal since it's  
remote so you need to add up network times.

>> Is this a large wiki?
>
> Sure. We are trying to migrate a snipsnap based wiki
> (http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and
> also a lot of wiki pages.

Ok so that's probably the reason then. We must have some bugs in the  
old blog post (intensive queries) that are only visible when there are  
lots of blog posts.

Fortunately we've fully rewritten it from scratch and improved it a  
lot. We're almost ready to release it. Do you think you could try it:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/

Thanks
-Vincent
http://xwiki.com
http://massol.net
http://xwiki.org





___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Elek Márton
> Can you start by verifying if the problem is in your database, in your
> web server (if you have any) or in XWiki?

I tried it in two different machine with two different configuration
(tomcat + myql and the  simple XWiki distribution with jetty +
embedded db) but the results were the same, so I think the problem is
in the XWiki. (I am planning to profile it with VisualVM or NetBeans.)

The News page at XWiki.org is also rendered a little slowly for me
(http://www.xwiki.org/xwiki/bin/view/Main/News?category=&nbstart=4 is
retrieved between 5 and 7 seconds).

> Is this a large wiki?

Sure. We are trying to migrate a snipsnap based wiki
(http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and
also a lot of wiki pages.

m.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Vincent Massol
Hi Paul,

On Jan 4, 2009, at 8:18 PM, Paul Armstrong wrote:

> At 2009-01-04T20:08+0100, Vincent Massol wrote:
>> On Jan 4, 2009, at 5:49 PM, Elek Márton wrote:
>>
>>> Is it normal that the blog listing page
>>> (http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10
>>> seconds if I have only one word per title/content and in 25-30  
>>> seconds
>>> if I am using some more detailed articles?
>>>
>>> I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes).
>>>
>>> Is there any solution to achieve faster performance?
>>
>> Performance should be sub-second (a few ms) especially when executed
>> locally so you have a problem somewhere.
>
> As per this bug, this is a known problem:
> http://jira.xwiki.org/jira/browse/XWIKI-3022
>
>> Can you start by verifying if the problem is in your database, in  
>> your
>> web server (if you have any) or in XWiki?
>> Is this a large wiki?
>
> From the bug above:
> """
> A load of the front page (which includes the blog on my site) takes
> 24,452 calls to MySQL with 22,940 calls recorded in the query log  
> before
> the limit statement.
> I've got about 800 blog posts on my site so this seems a little
> excessive.
>
> During the time when it's doing the heavy querying, one core is  
> stuck at
> 100% utilization.
> """
>
> For me, it can take 20-30 seconds to load that page. The workaround  
> I'm
> using is to cache the page, but that's only so effective.
>
> Unfortunately, I've got a lot of things going on so haven't thrown
> dtrace at it yet.

If you install XWiki Enterprise you don't get this behavior so there  
must be something happening. Do you have a way to reproduce this  
starting with a clean install?

Alternatively if you could attach a DB dump that reproduces the pb  
maybe someone here could have a look see if it can be reproduced.

Paul, is this caused by the number of blog posts?

Last, we have a new Blog application which is going to be released  
real soon now. Would be good if you could try it and see if it helps.
Snapshot here:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/

Thanks
-Vincent
http://xwiki.com
http://massol.net
http://xwiki.org





___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Paul Armstrong
At 2009-01-04T20:08+0100, Vincent Massol wrote:
> On Jan 4, 2009, at 5:49 PM, Elek M?rton wrote:
> 
> > Is it normal that the blog listing page
> > (http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10
> > seconds if I have only one word per title/content and in 25-30 seconds
> > if I am using some more detailed articles?
> >
> > I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes).
> >
> > Is there any solution to achieve faster performance?
> 
> Performance should be sub-second (a few ms) especially when executed  
> locally so you have a problem somewhere.
 
As per this bug, this is a known problem:
http://jira.xwiki.org/jira/browse/XWIKI-3022
 
> Can you start by verifying if the problem is in your database, in your  
> web server (if you have any) or in XWiki?
> Is this a large wiki?
 
>From the bug above:
"""
A load of the front page (which includes the blog on my site) takes
24,452 calls to MySQL with 22,940 calls recorded in the query log before
the limit statement.
I've got about 800 blog posts on my site so this seems a little
excessive.

During the time when it's doing the heavy querying, one core is stuck at
100% utilization.
"""

For me, it can take 20-30 seconds to load that page. The workaround I'm
using is to cache the page, but that's only so effective.

Unfortunately, I've got a lot of things going on so haven't thrown
dtrace at it yet.

Paul

-- 
End dual-measurement, let's finish going metric!
http://gometric.us/
http://www.metric.org/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog listing is very slow

2009-01-04 Thread Vincent Massol

On Jan 4, 2009, at 5:49 PM, Elek Márton wrote:

> Is it normal that the blog listing page
> (http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10
> seconds if I have only one word per title/content and in 25-30 seconds
> if I am using some more detailed articles?
>
> I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes).
>
> Is there any solution to achieve faster performance?

Performance should be sub-second (a few ms) especially when executed  
locally so you have a problem somewhere.

Can you start by verifying if the problem is in your database, in your  
web server (if you have any) or in XWiki?

Is this a large wiki?

Thanks
-Vincent
http://xwiki.com
http://massol.net
http://xwiki.org





___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog rss headers enumeration

2008-09-03 Thread Martin Molhanec


OK, I have found a resolution. I put $xwiki.flushCache() at the start of my
code and all is right.
Martin


Martin Molhanec wrote:
> 
> Hello, I have written the following testing code:
> Purpose is to enumarate the headers in my blog, I want to create an XWiki
> panel which will show the headers from my blog.
> 
> #set($myblogsite="http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Main/BlogRss?xpage=rdf";)
> #set($myfeed=$xwiki.feed.getFeed($myblogsite))
> Title of blog: ${myfeed.getTitle()}\\
> Link to blog site: ${myfeed.getLink()}\\
> Link to blog: $myblogsite
> #set($myfeedEntries=$myfeed.getEntries())
> #set($_i=0)
> #foreach ($item in $myfeedEntries)
>   #set($_i=$_i+1)
> Item: $_i)\\
> Title: "$item.getTitle()"\\
> Contents:($item.getDescription().value)\\
> #end
> \\Sum: $_i message(s)\\
> 
> {rss:feed=$myblogsite|full=true}
> 
> The testing page is here:
> http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus4
> and here
> http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus3
> 
> Interestingly my own blog has 3 messages and I can enumerate only one. 
> But, test with the blog from xwiki.com is right.
> Any help?
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/blog-rss-headers-enumeration-tp794045p835955.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog rss headers enumeration

2008-09-02 Thread Martin Molhanec

OK, no one answered me yet :-( But I discover a matter.
When I restarted Tomcat, I can see all messages at once. Probably a matter
of caching?
How it is possible to disable a cache for blog before I execute a command
"getFeed()?
Yes, it is a very strange behavior  :-( Help me!
So no one have made a panel with blog/rss headers yet?
-- 
View this message in context: 
http://n2.nabble.com/blog-rss-headers-enumeration-tp794045p833867.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog rss headers enumeration

2008-09-01 Thread Martin Molhanec

Yes, very strange. Something more about my problem. I have now this code:

#set($feed=$xwiki.feed.getFeed("http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Main/BlogRss?xpage=rdf";))
Počet: $feed.entries.size()\\
\\
#foreach($entryIndex in [0..9])
 #if($entryIndex<$feed.entries.size())
  #set($entry=$!feed.entries.get($entryIndex))
 
#set($fullTitle=$entry.title.replaceAll("'","\\\'").replaceAll('"','\\\"'))
  #if ($fullTitle.length()>$maxTitleLen)
   #set($myDisplayTitle="$fullTitle.substring(0,$maxTitleLen)...")
  #else
   #set($myDisplayTitle=$entry.title)
  #end
Date:  $entry.publishedDate\\
FullTitle:  $fullTitle\\
Link:  $entry.link\\
Title:  $myDisplayTitle\\
 #else
   
 #end
\\
#end

{rss:feed=http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Main/BlogRss?xpage=rdf|full=true}

Here: http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus6
the result is only one item and it is wrong
but here: http://xena4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus
the result is all three items, it is right.
The code is same, only differ the location of the code. 
Any help?
Thanx.






Martin Molhanec wrote:
> 
> Hello, I have written the following testing code:
> Purpose is to enumarate the headers in my blog, I want to create an XWiki
> panel which will show the headers from my blog.
> 
> #set($myblogsite="http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Main/BlogRss?xpage=rdf";)
> #set($myfeed=$xwiki.feed.getFeed($myblogsite))
> Title of blog: ${myfeed.getTitle()}\\
> Link to blog site: ${myfeed.getLink()}\\
> Link to blog: $myblogsite
> #set($myfeedEntries=$myfeed.getEntries())
> #set($_i=0)
> #foreach ($item in $myfeedEntries)
>   #set($_i=$_i+1)
> Item: $_i)\\
> Title: "$item.getTitle()"\\
> Contents:($item.getDescription().value)\\
> #end
> \\Sum: $_i message(s)\\
> 
> {rss:feed=$myblogsite|full=true}
> 
> The testing page is here:
> http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus4
> and here
> http://andrea4.feld.cvut.cz:8080/xwiki/bin/view/Sandbox/pokus3
> 
> Interestingly my own blog has 3 messages and I can enumerate only one. 
> But, test with the blog from xwiki.com is right.
> Any help?
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/blog-rss-headers-enumeration-tp794045p796968.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories in 1.2rc3 broken?

2008-01-14 Thread Vincent Massol

On Jan 14, 2008, at 2:23 PM, Dean Sellers wrote:

> k, straight to the source, oh well it's about time I moved on  
> from the ANSI C world :-)

:)

> let the learning curve begin, at least now I have something else to  
> get in trouble for 'wasting' my spare time on.

hehe

> I assume on the xwiki site there are guides for setting up an  
> IDE(eclipse?), downloading and building the source.

Yep, it's here:
http://dev.xwiki.org/xwiki/bin/view/Community/Building

More generally speaking everything related to developing the xwiki  
software is available here:
http://dev.xwiki.org

Thanks
-Vincent

> 
>
> From: [EMAIL PROTECTED] on behalf of Vincent Massol
> Sent: Mon 14/01/2008 11:00 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Blog categories in 1.2rc3 broken?
>
>
> Hi Dean,
>
> On Jan 14, 2008, at 1:41 PM, Dean Sellers wrote:
>
>
>   Greetings fellow xwiki'ers,
>   I have just installed 1.2rc3 with the default database under linux/ 
> mysql/jboss, all is now working a treat! If anyone thinks it is  
> worthwhile I can post a how-to but the instructions in the xwiki  
> uide are pretty spot on now.
>
>
> cool
>
>
>   
>   One issue though, the blog categories seem a little screwy, there  
> are three News, Personal and Other but they don't display very well  
> in the breadcrumbs, or the category editor in the Admin centre. Can  
> anyone point at why this might be happening? I don't mind fixing it  
> as it helps me understand how it works, but pointer as to what/why  
> would be appreciated.
>
>
> Yes it's been somewhat buggy in the display for some time now. I  
> didn't get the chance to look into it so any help here would be most  
> welcome :)
>
> The page that doesn't render nice is:
> http://localhost:8080/xwiki/bin/view/Blog/Categories
>
> This page includes the 
> http://localhost:8080/xwiki/bin/edit/XWiki/CategorySheet 
>  page which uses the form macro. It seems the form macro has some  
> problems. It's  as if it generated code using the {table} macro but  
> that later doesn't get rendered.
>
> Thus you should probably check the FormMacro.java source.
>
> Thanks
> -Vincent
>
>
>   
>   
>   To reproduce start from a fresh 1.2rc3 enterprise .war and import  
> the .xar go to Admin->Categories and you will see what I mean,  
> hopefully. I have done two seperate server builds and the get the  
> same behaviour, both jboss/mysql, I haven't tried the standalone  
> jetty install though.
>   
>   I am investigating xwiki as an exercise really, I do plan to deploy  
> it as a public/private site once I have worked it out and re-skinned  
> it.
>   
>   Thoughts, comments, he?
>   
>   TIA,
>   Dean.
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner <http://www.mailscanner.info/> ,  
> and is
> believed to be clean.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories in 1.2rc3 broken?

2008-01-14 Thread Dean Sellers
k, straight to the source, oh well it's about time I moved on from the ANSI 
C world :-)
let the learning curve begin, at least now I have something else to get in 
trouble for 'wasting' my spare time on.
 
I assume on the xwiki site there are guides for setting up an IDE(eclipse?), 
downloading and building the source.



From: [EMAIL PROTECTED] on behalf of Vincent Massol
Sent: Mon 14/01/2008 11:00 PM
To: XWiki Users
Subject: Re: [xwiki-users] Blog categories in 1.2rc3 broken?


Hi Dean, 

On Jan 14, 2008, at 1:41 PM, Dean Sellers wrote:


Greetings fellow xwiki'ers,
I have just installed 1.2rc3 with the default database under 
linux/mysql/jboss, all is now working a treat! If anyone thinks it is 
worthwhile I can post a how-to but the instructions in the xwiki uide are 
pretty spot on now.


cool


 
One issue though, the blog categories seem a little screwy, there are 
three News, Personal and Other but they don't display very well in the 
breadcrumbs, or the category editor in the Admin centre. Can anyone point at 
why this might be happening? I don't mind fixing it as it helps me understand 
how it works, but pointer as to what/why would be appreciated.


Yes it's been somewhat buggy in the display for some time now. I didn't get the 
chance to look into it so any help here would be most welcome :)

The page that doesn't render nice is:
http://localhost:8080/xwiki/bin/view/Blog/Categories

This page includes the http://localhost:8080/xwiki/bin/edit/XWiki/CategorySheet 
page which uses the form macro. It seems the form macro has some problems. It's 
 as if it generated code using the {table} macro but that later doesn't get 
rendered.

Thus you should probably check the FormMacro.java source.

Thanks
-Vincent




To reproduce start from a fresh 1.2rc3 enterprise .war and import the 
.xar go to Admin->Categories and you will see what I mean, hopefully. I have 
done two seperate server builds and the get the same behaviour, both 
jboss/mysql, I haven't tried the standalone jetty install though.
 
I am investigating xwiki as an exercise really, I do plan to deploy it 
as a public/private site once I have worked it out and re-skinned it.
 
Thoughts, comments, he?
 
TIA,
Dean.


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is 
believed to be clean. 
<>___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog categories in 1.2rc3 broken?

2008-01-14 Thread Vincent Massol

Hi Dean,

On Jan 14, 2008, at 1:41 PM, Dean Sellers wrote:


Greetings fellow xwiki'ers,
I have just installed 1.2rc3 with the default database under linux/ 
mysql/jboss, all is now working a treat! If anyone thinks it is  
worthwhile I can post a how-to but the instructions in the xwiki  
uide are pretty spot on now.


cool



One issue though, the blog categories seem a little screwy, there  
are three News, Personal and Other but they don't display very well  
in the breadcrumbs, or the category editor in the Admin centre. Can  
anyone point at why this might be happening? I don't mind fixing it  
as it helps me understand how it works, but pointer as to what/why  
would be appreciated.


Yes it's been somewhat buggy in the display for some time now. I  
didn't get the chance to look into it so any help here would be most  
welcome :)


The page that doesn't render nice is:
http://localhost:8080/xwiki/bin/view/Blog/Categories

This page includes the http://localhost:8080/xwiki/bin/edit/XWiki/CategorySheet 
 page which uses the form macro. It seems the form macro has some  
problems. It's  as if it generated code using the {table} macro but  
that later doesn't get rendered.


Thus you should probably check the FormMacro.java source.

Thanks
-Vincent



To reproduce start from a fresh 1.2rc3 enterprise .war and import  
the .xar go to Admin->Categories and you will see what I mean,  
hopefully. I have done two seperate server builds and the get the  
same behaviour, both jboss/mysql, I haven't tried the standalone  
jetty install though.


I am investigating xwiki as an exercise really, I do plan to deploy  
it as a public/private site once I have worked it out and re-skinned  
it.


Thoughts, comments, he?

TIA,
Dean.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2008-01-08 Thread Vincent Massol
Since this is such a frequently asked question it would be nice if  
someone could:

1) document it on xwiki.org, either:
- in the FAQ
- as a code snippet on http://dev.xwiki.org

or even better:

2) create an application (XAR) that does this and upload it on 
http://code.xwiki.org

Anyone up for this? :)

Thanks
-Vincent

On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:

> that's what I was thinking but I continue to get an error when I  
> create a ClassSheet (it will not allow me to). I keep getting an  
> error every time. a 4.26 while parsing velocity error. Do you have  
> any information or installation errors I might have? Are certain  
> velocity or java files/programs necessary that are not in the  
> documentation?
>
> Thanks in advance,
> Tim
>
> 
>
> From: [EMAIL PROTECTED] on behalf of Esbach, Brandon
> Sent: Tue 1/8/2008 12:50 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Blog/Clone
>
>
> Hi Tim,
>
> If you look through Nabble, this has been described a few times  
> before.  It's fairly easy to do.
>
> 
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On  
> Behalf Of Campbell, Timothy D
> Sent: 08 January 2008 17:39
> To: users@xwiki.org
> Subject: [xwiki-users] Blog/Clone
>
>
> Has anyone successfully created a second blog in a single wiki? If  
> so, please give me some guidence on how to do this task. Also, what  
> could be a source of a velocity parsing error while creating a class  
> sheet? Please respond to help progress my research.
>
> Thanks in advance,
> Tim
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2008-01-08 Thread Campbell, Timothy D
that's what I was thinking but I continue to get an error when I create a 
ClassSheet (it will not allow me to). I keep getting an error every time. a 
4.26 while parsing velocity error. Do you have any information or installation 
errors I might have? Are certain velocity or java files/programs necessary that 
are not in the documentation?
 
Thanks in advance, 
Tim



From: [EMAIL PROTECTED] on behalf of Esbach, Brandon
Sent: Tue 1/8/2008 12:50 PM
To: XWiki Users
Subject: Re: [xwiki-users] Blog/Clone


Hi Tim,
 
If you look through Nabble, this has been described a few times before.  It's 
fairly easy to do.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Campbell, 
Timothy D
Sent: 08 January 2008 17:39
To: users@xwiki.org
Subject: [xwiki-users] Blog/Clone


Has anyone successfully created a second blog in a single wiki? If so, please 
give me some guidence on how to do this task. Also, what could be a source of a 
velocity parsing error while creating a class sheet? Please respond to help 
progress my research. 
 
Thanks in advance,
Tim
<>___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2008-01-08 Thread Esbach, Brandon
Hi Tim,
 
If you look through Nabble, this has been described a few times before.
It's fairly easy to do.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Campbell, Timothy D
Sent: 08 January 2008 17:39
To: users@xwiki.org
Subject: [xwiki-users] Blog/Clone


Has anyone successfully created a second blog in a single wiki? If so,
please give me some guidence on how to do this task. Also, what could be
a source of a velocity parsing error while creating a class sheet?
Please respond to help progress my research. 
 
Thanks in advance,
Tim
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog

2007-11-13 Thread Campbell, Timothy D
thanks for the advice but when I try to do that it will not let me create a 
class or a class template. I recieve an error. What could be the cause and 
solution for this? With this error occuring, I will not be able to clone it. 
 
Thanks, 
Tim



From: [EMAIL PROTECTED] on behalf of Guillaume Lerouge
Sent: Tue 11/13/2007 11:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] Blog


Clone within the wiki itself. 

Guillaume


On 13/11/2007, Campbell, Timothy D < [EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]> > wrote: 

Hello,
 
When you state to clone the two classes, do you mean clone as in Java 
programming or clone as create inside the wiki itself? 
 
Thanks, 
Tim
 
> Vitantonio, Thanks for the response.
> 
> So, let's say my space is called "Schedule".
> 
> Do I clone Xwiki.ArticleClass , Xwiki.ArticleClassTemplate and 
> XWiki.ArticleClassSheet
> as Schedule.ArticleClass, Schedule.ArticleClassTemplate and 
> Schedule.ArticleClassSheet
> and create an equivalent to the XWiki Latest Articles page that uses 
them? 
> 
> Looks like I would also need to create a clone of Blog.Macros as 
maybe 
> ScheduleBlog.Macros.
> 
> Then if I want this for twenty other spaces, I would repeat the 
exercise 
> twenty times.
> 
> I wouldn't mind too much doing this, but it seems there ought to be 
an 
> easier way.
> 


___ 
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users






-- 
http://wikibc.blogspot.com/ 
<>___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog

2007-11-13 Thread Guillaume Lerouge
Clone within the wiki itself.
Guillaume

On 13/11/2007, Campbell, Timothy D <[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
> When you state to clone the two classes, do you mean clone as in Java
> programming or clone as create inside the wiki itself?
>
> Thanks,
> Tim
>
> >* Vitantonio, Thanks for the response.
> *>*
> *>* So, let's say my space is called "Schedule".
> *>*
> *>* Do I clone Xwiki.ArticleClass, Xwiki.ArticleClassTemplate and
> *>* XWiki.ArticleClassSheet
> *>* as Schedule.ArticleClass, Schedule.ArticleClassTemplate and
> *>* Schedule.ArticleClassSheet
> *>* and create an equivalent to the XWiki Latest Articles page that uses
> them?
> *>*
> *>* Looks like I would also need to create a clone of Blog.Macros as maybe
>
> *>* ScheduleBlog.Macros.
> *>*
> *>* Then if I want this for twenty other spaces, I would repeat the
> exercise
> *>* twenty times.
> *>*
> *>* I wouldn't mind too much doing this, but it seems there ought to be an
>
> *>* easier way.
> *>*
> *
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
http://wikibc.blogspot.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog

2007-11-13 Thread Campbell, Timothy D
Hello,
 
When you state to clone the two classes, do you mean clone as in Java 
programming or clone as create inside the wiki itself? 
 
Thanks, 
Tim
 
> Vitantonio, Thanks for the response.
> 
> So, let's say my space is called "Schedule".
> 
> Do I clone Xwiki.ArticleClass, Xwiki.ArticleClassTemplate and 
> XWiki.ArticleClassSheet
> as Schedule.ArticleClass, Schedule.ArticleClassTemplate and 
> Schedule.ArticleClassSheet
> and create an equivalent to the XWiki Latest Articles page that uses them?
> 
> Looks like I would also need to create a clone of Blog.Macros as maybe 
> ScheduleBlog.Macros.
> 
> Then if I want this for twenty other spaces, I would repeat the exercise 
> twenty times.
> 
> I wouldn't mind too much doing this, but it seems there ought to be an 
> easier way.
> 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users