Strange... works good when hitting the URL manually (i.e. I can download and read the PDF.) Do you confirm the macro works for PDF externals to the site ? Maybe we have to look at generated headers to see why google wouldn't take PDF from XWiki attachments. Jerome. hel-o wrote:
Also tried that. Not working too.
http://semantic-web.hel.at/bin/view/Glossary/Heuristik
hel.
Jerome Velociter-2 wrote:
Hi,
hel-o wrote:
Hi,
one usage question.
macro is working. I'm trying to show an attached pdf in the macro. What is the correct url vor that?
http://domain/bin/view/space/page/heuristik.pdf does not work It would be http://domain/bin/download/space/page/heuristik.pdf
Of course for this to work, the pdf has to be viewable from the outsied (i.e. google) withouth the need to login on the wiki.
In a future version, I might add support for wiki-style reference, like "attach:heuristik.pdf" or "attach:[email protected]".
Hope this helps, Jerome
PS: Please, don't hesitate to improve the macro documentation with in-wiki document this usage.
Thanks hel.
Jerome Velociter-2 wrote:
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)
Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote: > Hi, > > I'd like to use this macro. I imported the xar but couldn't find any > other > instructions for installation or use. > > Is this macro ready for use in 2.0? > > Thanks > hel. > > > ----- > semantic-web.hel.at > [email protected] > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]