Re: [xwiki-users] failed restarts

2012-08-17 Thread Moritz Hesse (EnergieArchitektur)
Hi Vincent,

 To debug is easy. Simply start curriki in debug mode (see 
 start_xwiki_debug.sh), open your IDE and
 connect to the running JVM. Then you can trace execution step by step.

which IDE do you use? Eclipse with the XWiki Eclipse Plugin?

Bests,
Moritz

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


[xwiki-users] Video on Wikipage

2012-08-17 Thread Hamster
We want to show video on our wikipage.

The only requirement:
-The source is located on our server

We can't make use of the 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro Video Macro
, because it only displays video from YouTube, DailyMotion or GoogleVideo
We can't make use of the 
http://extensions.xwiki.org/xwiki/bin/view/Extension/JWPlayer+Macro JWPlayer
Macro , because we can't attach the video's to the wikipage (our video's
are very large in filesiz)

Any suggestions for alternatives?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923.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] Video on Wikipage

2012-08-17 Thread Hamster
Found a solution

{{html}}
embed src=quot;lt;Links to file on network width=500 height=500
{{/html}}



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580924.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] Converting Xwiki v1.4.1 syntax to xhtml

2012-08-17 Thread Vincent Massol

On Aug 17, 2012, at 3:41 AM, victor eberechi wrote:

 Hi Vincent,
 
 Thanks for this reply.
 
 Referring to your question, by its , I meant the Xwiki code. My task is
 to convert the XWiki code to xhtml.

The xwiki code is in java…. Converting it to xhtml doesn't make sense… :)

Again, as I mentioned in my first reply, if all you want is to export wiki 
pages in HTML then this is already supported out of the box,
see http://platform.xwiki.org/xwiki/bin/view/Features/Exports

Thanks
-Vincent

 Thanks ones again!
 
 On Thu, Aug 16, 2012 at 4:33 PM, Vincent Massol vinc...@massol.net wrote:
 
 Hi Victor,
 
 On Aug 15, 2012, at 9:26 PM, victor eberechi wrote:
 
 Hi Everyone,
 
 I am currently working with Xwiki v1.4.1 and I want to convert its syntax
 to xhtml.
 
 By its what are you referring to?
 
 If you're using XWiki Enterprise and with to export pages in XHTML you can
 use the export feature.
 
 I'd like to make sure I understand your use case and what you wish to
 achieve to best answer your questions.
 
 I have looked at this page
 http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted and it
 has a
 few points.
 
 1) Is this possible with large chunk of Xwiki v1.4.1 data?
 
 Yes, sure.
 
 2) Just before the description on how to use Maven, it says; Note that
 not
 only you need the JARs mentioned above but you also need all the
 transitive
 dependencies required by those JARs.  Where do I get these transitive
 dependencies?
 
 I've improved the sentence. It now reads:
 
 Note that not only you need the JARs mentioned above but you also need
 all the transitive dependencies required by those JARs. If you're using
 Maven then you'll get those dependencies out of the box and if you use the
 Standalone JAR you'll get them in that JAR.
 
 3) Which of the approaches as described in the link (Using Maven or Using
 the XWiki Rendering Standalone JAR) is easy to use?
 
 Both are easy… ;) If you're not a Maven user, I guess the Standalone JAR
 is the simplest.
 
 4) Are there more documentation like a tutorial on using these 2
 approaches
 other that the one on this link?
 
 Sure, see
 http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples
 (you'll find a link to the SCM).
 
 Thanks
 -Vincent

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


Re: [xwiki-users] failed restarts

2012-08-17 Thread Vincent Massol

On Aug 17, 2012, at 8:47 AM, Moritz Hesse (EnergieArchitektur) wrote:

 Hi Vincent,
 
 To debug is easy. Simply start curriki in debug mode (see 
 start_xwiki_debug.sh), open your IDE and
 connect to the running JVM. Then you can trace execution step by step.
 
 which IDE do you use? Eclipse with the XWiki Eclipse Plugin?

I personally use IntelliJ IDEA.

-Vincent

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


Re: [xwiki-users] Video on Wikipage

2012-08-17 Thread Paul Libbrecht
Hasmter,

you need to state your target device requirement for such an intent!
If you're ok with just modern browsers, then better use the video element.
Even after this, you'd need to make sure that the encoding is decent, it 
appears that firefox and iOS browsers simply have no common format intersection.

Paul


Le 17 août 2012 à 09:06, Hamster a écrit :

 Found a solution
 
 {{html}}
 embed src=quot;lt;Links to file on network width=500 height=500
 {{/html}}
 
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580924.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

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


Re: [xwiki-users] failed restarts

2012-08-17 Thread Vincent Massol
Hi,

On Aug 17, 2012, at 11:29 AM, Moritz Hesse (EnergieArchitektur) wrote:

 Hi Vincent,
 
 I personally use IntelliJ IDEA.
 
 sounds interesting. Can you use the XWiki Eclipse Plugin for IntelliJ IDEA?

No

 Or how did you do it?

Why would I use the XWiki Eclipse plugin? :)

Thanks
-Vincent

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


Re: [xwiki-users] developing XWiki pages with IntelliJ (was: failed restarts)

2012-08-17 Thread Paul Libbrecht
Moritz,

I edit all my xwiki pages with IntelliJ which gives me velocity syntax and 
groovy syntax awareness.
They're stored in files and I upload them with a little script.
Together with a good classpath, you get auto-completion on all objects which 
you can also declare in the header with such a syntax as:

#* @vtlvariable name=xwiki type=com.xpn.xwiki.api.XWiki *# ##
#* @vtlvariable name=context type=com.xpn.xwiki.api.Context *# ##
#* @vtlvariable name=util type=com.xpn.xwiki.api.Util *# ##
#* @vtlvariable name=escapetool 
type=org.apache.velocity.tools.generic.EscapeTool *# ##

Unfortunately, the velocity mode is for the pro version only.

That's very successful with syntax 1, I think it is a bit more picky with 
syntax 2 but I have little experience there.

paul


Le 17 août 2012 à 11:29, Moritz Hesse (EnergieArchitektur) a écrit :

 Hi Vincent,
 
 I personally use IntelliJ IDEA.
 
 sounds interesting. Can you use the XWiki Eclipse Plugin for IntelliJ IDEA? 
 Or how did you do it?
 
 Thanks and bests,

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


Re: [xwiki-users] failed restarts

2012-08-17 Thread Moritz Hesse (EnergieArchitektur)
Hi Vincent,

 Why would I use the XWiki Eclipse plugin? :)

I am wondering how you connect to your XWiki – for developing as well as for 
debugging?

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


Re: [xwiki-users] failed restarts

2012-08-17 Thread Vincent Massol

On Aug 17, 2012, at 12:43 PM, Moritz Hesse (EnergieArchitektur) wrote:

 Hi Vincent,
 
 Why would I use the XWiki Eclipse plugin? :)
 
 I am wondering how you connect to your XWiki – for developing as well as for 
 debugging?

I use a browser to open the page I want.

An IntelliJ plugin similar to XEclipse would be very neat but I haven't found 
the time to work on that.

Thanks
-Vincent

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


Re: [xwiki-users] Video on Wikipage

2012-08-17 Thread Vincent Massol

On Aug 17, 2012, at 3:11 PM, Hamster wrote:

 Luckily for us, we are using IE9 at our company...so no need to check for
 other webbrowsers
 
 I would realy wish that the WYSIWYG editor would have an Insert Video
 button, which would allow me to browse to the AVI (or other filetype) on our
 network. An Adjust Video Settings button would allow me to change/fix the
 width and height, set the autostart and loop options.
 
 I can't let our simple users add video at this moment, they just don't
 have the html knowledge to get this done!

Why not create a wiki macro? It would take you a few minutes to write it, see
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial

Of course, writing a video browser is more work but at least if your users know 
the path on your network server, they'll be able to use it easily.

Thanks
-Vincent

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


Re: [xwiki-users] Video on Wikipage

2012-08-17 Thread Hamster
And according to  http://www.w3schools.com/html/html_videos.asp W3Schools 
(love that website):

The example below uses 4 different video formats. The HTML 5 video element
tries to play the video either in mp4, ogg, or webm formats. If this fails,
the code falls back to try the  element. If this also fails, it falls
back to the  element.





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580936.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] Video on Wikipage

2012-08-17 Thread Hamster
vmassol,

If you show me how I can let people BROWSE to a file on a network with a
wikimacro... :-)

Not that many people know that SHIFT + RMB on a file shows the option Copy
as path in Windows Explorer. Then there's another problem that
drive-mappings will be throwing mud...UNC-path namens are more secure.

Or is there a way to show a Browse for file dialog?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580938.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


[xwiki-users] Question About Link Checker Module

2012-08-17 Thread Kohinoor Biswas
Dear Friends,

I am working on a xwiki deployment and one particular feature has me
stumped.

The Link Checker module. So I have activated it as per instructions, I am
using xwiki4.2.1. The tab for broken links shows up on the Index application

I have also added a page that shows the Link Checker Index. While the index
count shows 283, no links appear on the broken links tab.

Any help on this would be greatly appreciated.

Thanks,

Kohinoor 

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


Re: [xwiki-users] Video on Wikipage

2012-08-17 Thread Dmitry Bakbardin
Hi!

Actually you CAN attach huge files to the XWiki page on turning on filestorage. 
In this case all attachments would be stored in filesystem and not in the 
database... :-)
Sometimes it helps much :-)

Kind regards, 

Dmitry

Thu, 16 Aug 2012 23:53:18 -0700 (PDT) от Hamster teun...@hotmail.com:
   








We want to show video on our wikipage.


The only requirement:

-The source is located on our server


We can't make use of the 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro Video Macro

, because it only displays video from YouTube, DailyMotion or GoogleVideo

We can't make use of the 
http://extensions.xwiki.org/xwiki/bin/view/Extension/JWPlayer+Macro JWPlayer

Macro , because we can't attach the video's to the wikipage (our video's

are very large in filesiz)


Any suggestions for alternatives?




--

View this message in context: 
http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923.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









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


Re: [xwiki-users] Video on Wikipage

2012-08-17 Thread Paul Libbrecht
Hamster,

doesn't the picture insert macro do exactly this?

paul


Le 17 août 2012 à 15:22, Hamster a écrit :

 vmassol,
 
 If you show me how I can let people BROWSE to a file on a network with a
 wikimacro... :-)
 
 Not that many people know that SHIFT + RMB on a file shows the option Copy
 as path in Windows Explorer. Then there's another problem that
 drive-mappings will be throwing mud...UNC-path namens are more secure.
 
 Or is there a way to show a Browse for file dialog?
 
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Video-on-Wikipage-tp7580923p7580938.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

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


[xwiki-users] New wiki request

2012-08-17 Thread Tom Rowley
I am in information technology.  I'm interested in learning more and
experimenting with wiki in general and xwiki particularly.  Please consider
my request for xwiki community farm.  Thank you.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users