Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-28 Thread Vincent Massol

On Feb 27, 2009, at 11:18 PM, Sergiu Dumitriu wrote:

 Vincent Massol wrote:
 On Feb 27, 2009, at 6:24 PM, Vincent Massol wrote:

 Hi,

 On Feb 27, 2009, at 6:11 PM, hel-o wrote:

 I try (if possible) to use only the new syntax in this wiki. And in
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks
 functionality
 the old one had.
 Which features are you looking for that are lacking?

 But back to my Blog problem:

 http://semantic-web.hel.at/xwiki/bin/view/Blog/

 flickrusertag Macro didn't work after update.

 When i use the velocity code the result is an error

 The image link and the {{velocity}} things show that no new  
 syntax is
 used:wistle:

 Using the Macro on a normal Page works

 http://semantic-web.hel.at/xwiki/bin/view/Main/

 So it seems no code can be used in the new Blog application
 Yes there seems to be some issues mixing the blog app written in 1.0
 syntax with blog pages written in 2.0 syntax. I'll look into it to
 understand the problem.

 One problem is in our xwiki syntax 1.0 to 2.0 converter. What happens
 is that when you convert a blog page into 2.0 syntax it calls
 Blog.BlogPostSheet which is in xwiki 1.0 syntax so the new include
 macro will automatically try to convert it to 2.0 syntax and there
 seems to be some problem. Raised as comments in 
 http://jira.xwiki.org/jira/browse/XWIKI-3107

 Why does the include try to do this?

 The second problem is on the blog WebHome page (which is syntax 1.0).
 Since some blog pages are in syntax 2.0 their content are rendered in
 syntax 2.0 but the syntax 1.0 page cannot display 2.0 content I'm
 not sure yet how to solve this one...

 Theoretically the blog displays the content in the document's  
 syntax, as
 it calls $entryDoc.getRenderedContent($entryContent,
 $entryDoc.syntaxId). Is there a bug here too?

No it's not a bug. The problem is that to make it work we would need  
to modify XWiki.include() so that it doesn't aggregate content of  
included doc before rendering them in 1.0 syntax but instead that it  
uses rendered content when doing the aggregation.

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-28 Thread hel-o

Hi,


vmassol wrote:
 
 
 ok. We're currently working on implementing the new dialog boxes (the  
 ones currently in were done roughly while waiting for the new ones).
 If you're interested here are the mockups for the new dialog boxes:
 http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface
 
 Thanks
 -Vincent
 
 

looks good, but is it really the default case that you have more than one
wiki. There schould at least be a setting in the configuration to enable (or
disable) that. 


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Migrate-blog-posts-to-new-blog-%2818RC1%29-tp2395714p2401861.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] Migrate blog posts to new blog (18RC1)

2009-02-28 Thread Vincent Massol

On Feb 28, 2009, at 8:35 PM, hel-o wrote:


 Hi,


 vmassol wrote:


 ok. We're currently working on implementing the new dialog boxes (the
 ones currently in were done roughly while waiting for the new ones).
 If you're interested here are the mockups for the new dialog boxes:
 http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface

 Thanks
 -Vincent



 looks good, but is it really the default case that you have more  
 than one
 wiki. There schould at least be a setting in the configuration to  
 enable (or
 disable) that.

When there's only one wiki then the treeview will display the spaces  
at the top level.

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






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


[xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread hel-o

Hi,

how can i migrate existing blog posts to the new blog application?

Thanks
hel.

-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Migrate-blog-posts-to-new-blog-%2818RC1%29-tp2395714p2395714.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] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Sergiu Dumitriu
hel-o wrote:
 Hi,
 
 how can i migrate existing blog posts to the new blog application?

Visit /xwiki/bin/view/Blog/Migration using an administrator account.

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol

On Feb 27, 2009, at 3:26 PM, Sergiu Dumitriu wrote:

 hel-o wrote:
 Hi,

 how can i migrate existing blog posts to the new blog application?

 Visit /xwiki/bin/view/Blog/Migration using an administrator account.

Hint: We need updated doc on
http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication

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






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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol
Hi,

On Feb 27, 2009, at 3:51 PM, hel-o wrote:


 Thanks,

 worked, one more question. I used a flikr macro in my blog. As i  
 understand
 the new blog application
 uses the new syntax.

 Tried to change the syntax for the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros  
 macro  -
 macro didn't work.

 Tried to link to the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages  
 picture
 (which schoud be possible in the new syntax) - didn't work.

 Know Bugs or did i do something wrong?

2 things:
* the new blog app doesn't use the new syntax. It's independent.
* in the new syntax if you need to use an existing velocity macro that  
generate HTML you'll need to wrap it in html macro for now (there's an  
issue to fix this and thus make it easier)

for ex:
{{html}}{{velocity}}#flickr(...){{/velocity}}{{/html}}

* for the image you need to show us what you've typed. It should work  
just fine.

Thanks
-Vincent

 hel.


 Sergiu Dumitriu-2 wrote:

 hel-o wrote:
 Hi,

 how can i migrate existing blog posts to the new blog application?

 Visit /xwiki/bin/view/Blog/Migration using an administrator account.

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol

On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote:

 hel-o wrote:
 Thanks,

 worked, one more question. I used a flikr macro in my blog. As i  
 understand
 the new blog application
 uses the new syntax.

 Tried to change the syntax for the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros  
 macro  -
 macro didn't work.

 Tried to link to the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages  
 picture
 (which schoud be possible in the new syntax) - didn't work.

 Know Bugs or did i do something wrong?


 That's not true, the new application still uses the old syntax. The  
 new
 one is not stable and mature enough to be the default for the wiki.

I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do  
need people to use it to know the area that we still need to improve  
(the new rendering core is quite stable, probably way more than the  
old syntax but there are some integration parts that we probably still  
need to work on).

And it can be set on a page by page basis so you don't have to commit  
your full wiki to use it.

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






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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread hel-o

I try (if possible) to use only the new syntax in this wiki. And in its quite
stable for most parts. The new WYSIWYG is better, but it laks functionality
the old one had. 

But back to my Blog problem:

http://semantic-web.hel.at/xwiki/bin/view/Blog/

flickrusertag Macro didn't work after update.

When i use the velocity code the result is an error

The image link and the {{velocity}} things show that no new syntax is
used:wistle:

Using the Macro on a normal Page works

http://semantic-web.hel.at/xwiki/bin/view/Main/

So it seems no code can be used in the new Blog application

hel.



vmassol wrote:
 
 
 On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote:
 
 hel-o wrote:
 Thanks,

 worked, one more question. I used a flikr macro in my blog. As i  
 understand
 the new blog application
 uses the new syntax.

 Tried to change the syntax for the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros  
 macro  -
 macro didn't work.

 Tried to link to the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages  
 picture
 (which schoud be possible in the new syntax) - didn't work.

 Know Bugs or did i do something wrong?


 That's not true, the new application still uses the old syntax. The  
 new
 one is not stable and mature enough to be the default for the wiki.
 
 I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do  
 need people to use it to know the area that we still need to improve  
 (the new rendering core is quite stable, probably way more than the  
 old syntax but there are some integration parts that we probably still  
 need to work on).
 
 And it can be set on a page by page basis so you don't have to commit  
 your full wiki to use it.
 
 Thanks
 -Vincent
 http://xwiki.com
 http://xwiki.org
 http://massol.net
 
 
 
 
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Migrate-blog-posts-to-new-blog-%2818RC1%29-tp2395714p2396860.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] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol
Hi,

On Feb 27, 2009, at 6:11 PM, hel-o wrote:


 I try (if possible) to use only the new syntax in this wiki. And in  
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks  
 functionality
 the old one had.

Which features are you looking for that are lacking?

 But back to my Blog problem:

 http://semantic-web.hel.at/xwiki/bin/view/Blog/

 flickrusertag Macro didn't work after update.

 When i use the velocity code the result is an error

 The image link and the {{velocity}} things show that no new syntax is
 used:wistle:

 Using the Macro on a normal Page works

 http://semantic-web.hel.at/xwiki/bin/view/Main/

 So it seems no code can be used in the new Blog application

Yes there seems to be some issues mixing the blog app written in 1.0  
syntax with blog pages written in 2.0 syntax. I'll look into it to  
understand the problem.

Thanks
-Vincent

 vmassol wrote:


 On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote:

 hel-o wrote:
 Thanks,

 worked, one more question. I used a flikr macro in my blog. As i
 understand
 the new blog application
 uses the new syntax.

 Tried to change the syntax for the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros
 macro  -
 macro didn't work.

 Tried to link to the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages
 picture
 (which schoud be possible in the new syntax) - didn't work.

 Know Bugs or did i do something wrong?


 That's not true, the new application still uses the old syntax. The
 new
 one is not stable and mature enough to be the default for the wiki.

 I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do
 need people to use it to know the area that we still need to improve
 (the new rendering core is quite stable, probably way more than the
 old syntax but there are some integration parts that we probably  
 still
 need to work on).

 And it can be set on a page by page basis so you don't have to commit
 your full wiki to use it.

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Sergiu Dumitriu
hel-o wrote:
 But back to my Blog problem:
 
 http://semantic-web.hel.at/xwiki/bin/view/Blog/
 
 flickrusertag Macro didn't work after update.
 
 When i use the velocity code the result is an error


Can you post the exact code that you have in that blog post?

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol

On Feb 27, 2009, at 6:24 PM, Vincent Massol wrote:

 Hi,

 On Feb 27, 2009, at 6:11 PM, hel-o wrote:


 I try (if possible) to use only the new syntax in this wiki. And in
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks
 functionality
 the old one had.

 Which features are you looking for that are lacking?

 But back to my Blog problem:

 http://semantic-web.hel.at/xwiki/bin/view/Blog/

 flickrusertag Macro didn't work after update.

 When i use the velocity code the result is an error

 The image link and the {{velocity}} things show that no new syntax is
 used:wistle:

 Using the Macro on a normal Page works

 http://semantic-web.hel.at/xwiki/bin/view/Main/

 So it seems no code can be used in the new Blog application

 Yes there seems to be some issues mixing the blog app written in 1.0
 syntax with blog pages written in 2.0 syntax. I'll look into it to
 understand the problem.

One problem is in our xwiki syntax 1.0 to 2.0 converter. What happens  
is that when you convert a blog page into 2.0 syntax it calls  
Blog.BlogPostSheet which is in xwiki 1.0 syntax so the new include  
macro will automatically try to convert it to 2.0 syntax and there  
seems to be some problem. Raised as comments in 
http://jira.xwiki.org/jira/browse/XWIKI-3107

The second problem is on the blog WebHome page (which is syntax 1.0).  
Since some blog pages are in syntax 2.0 their content are rendered in  
syntax 2.0 but the syntax 1.0 page cannot display 2.0 content I'm  
not sure yet how to solve this one...

Thanks
-Vincent

 vmassol wrote:


 On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote:

 hel-o wrote:
 Thanks,

 worked, one more question. I used a flikr macro in my blog. As i
 understand
 the new blog application
 uses the new syntax.

 Tried to change the syntax for the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros
 macro  -
 macro didn't work.

 Tried to link to the
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages
 picture
 (which schoud be possible in the new syntax) - didn't work.

 Know Bugs or did i do something wrong?


 That's not true, the new application still uses the old syntax. The
 new
 one is not stable and mature enough to be the default for the wiki.

 I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do
 need people to use it to know the area that we still need to improve
 (the new rendering core is quite stable, probably way more than the
 old syntax but there are some integration parts that we probably
 still
 need to work on).

 And it can be set on a page by page basis so you don't have to  
 commit
 your full wiki to use it.

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread hel-o

Tried both

{flickrusertag:userid=32415...@n04|tag=stamps}

doesn't work (worked before) and works in normal page

and

#flickrusertag(32415...@n04 fake)

works (tried with wrong syntax before, sorry)

hel.


Sergiu Dumitriu-2 wrote:
 
 hel-o wrote:
 But back to my Blog problem:
 
 http://semantic-web.hel.at/xwiki/bin/view/Blog/
 
 flickrusertag Macro didn't work after update.
 
 When i use the velocity code the result is an error
 
 
 Can you post the exact code that you have in that blog post?
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Migrate-blog-posts-to-new-blog-%2818RC1%29-tp2395714p2397327.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] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread hel-o

Hi, 


vmassol wrote:
 
 Hi,
 
 On Feb 27, 2009, at 6:11 PM, hel-o wrote:
 

 I try (if possible) to use only the new syntax in this wiki. And in  
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks  
 functionality
 the old one had.
 
 Which features are you looking for that are lacking?
 

The new link functionality is not very handy, especially in a virtual
environment (i can see all wikis, which i should not) no target option in
the web link tab, limited search possibilities in wiki tab, no link to file
tab ...

There also features that are great (listing images of all pages in the wiki)

hel.


-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Migrate-blog-posts-to-new-blog-%2818RC1%29-tp2395714p2397418.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] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Vincent Massol

On Feb 27, 2009, at 7:47 PM, hel-o wrote:


 Hi,


 vmassol wrote:

 Hi,

 On Feb 27, 2009, at 6:11 PM, hel-o wrote:


 I try (if possible) to use only the new syntax in this wiki. And in
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks
 functionality
 the old one had.

 Which features are you looking for that are lacking?


 The new link functionality is not very handy, especially in a virtual
 environment (i can see all wikis, which i should not) no target  
 option in
 the web link tab, limited search possibilities in wiki tab, no link  
 to file
 tab ...

ok. We're currently working on implementing the new dialog boxes (the  
ones currently in were done roughly while waiting for the new ones).
If you're interested here are the mockups for the new dialog boxes:
http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface

Thanks
-Vincent

 There also features that are great (listing images of all pages in  
 the wiki)

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


Re: [xwiki-users] Migrate blog posts to new blog (18RC1)

2009-02-27 Thread Sergiu Dumitriu
Vincent Massol wrote:
 On Feb 27, 2009, at 6:24 PM, Vincent Massol wrote:
 
 Hi,

 On Feb 27, 2009, at 6:11 PM, hel-o wrote:

 I try (if possible) to use only the new syntax in this wiki. And in
 its quite
 stable for most parts. The new WYSIWYG is better, but it laks
 functionality
 the old one had.
 Which features are you looking for that are lacking?

 But back to my Blog problem:

 http://semantic-web.hel.at/xwiki/bin/view/Blog/

 flickrusertag Macro didn't work after update.

 When i use the velocity code the result is an error

 The image link and the {{velocity}} things show that no new syntax is
 used:wistle:

 Using the Macro on a normal Page works

 http://semantic-web.hel.at/xwiki/bin/view/Main/

 So it seems no code can be used in the new Blog application
 Yes there seems to be some issues mixing the blog app written in 1.0
 syntax with blog pages written in 2.0 syntax. I'll look into it to
 understand the problem.
 
 One problem is in our xwiki syntax 1.0 to 2.0 converter. What happens  
 is that when you convert a blog page into 2.0 syntax it calls  
 Blog.BlogPostSheet which is in xwiki 1.0 syntax so the new include  
 macro will automatically try to convert it to 2.0 syntax and there  
 seems to be some problem. Raised as comments in 
 http://jira.xwiki.org/jira/browse/XWIKI-3107

Why does the include try to do this?

 The second problem is on the blog WebHome page (which is syntax 1.0).  
 Since some blog pages are in syntax 2.0 their content are rendered in  
 syntax 2.0 but the syntax 1.0 page cannot display 2.0 content I'm  
 not sure yet how to solve this one...

Theoretically the blog displays the content in the document's syntax, as 
it calls $entryDoc.getRenderedContent($entryContent, 
$entryDoc.syntaxId). Is there a bug here too?

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