[xwiki-users] XWS Short URL problem
thx JV, the shorturl link is exactly what I need. http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs The first thing I try is the application name / context path. I made it the root application and changed the displayname accordingly. And I've cleared all cache and restarted already. Looks like the displayname parameter doesn't take effect. The following are the html code the site generates: *<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="/xwiki/bin/view/Main/WebRss?xpage=rdf" /> <link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" /> <script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script> <link href="/bin/bin/skin/skins/albatross/css/lightbox/lightbox.css" rel="stylesheet" type="text/css" /> <link href="/bin/bin/skin/skins/workspaces/style.css" rel="stylesheet" type="text/css" />* I run in JBoss 4.2.2. Any idea? Regards, mingfai On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[email protected]> wrote:
On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[email protected]> wrote:
- could anyone point me to where I may be able to customize the
space
name and url? basically, the use of "Space_" as prefix look quite
odd
to me and i would like to remove it. And if it is possible i would want to make the url shorter. Currently, it's something like: " http://mydomain.com/xwiki/bin/view/Space_username/", i am able to remove the context "xwiki", and i suppose it shouldn't be difficult to turn Space_username to username. It's most desirable to turn bin/view to nothing or make it a single "folder", e.g. remove "/bin" (i suppose the action cannot be removed.)
See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
JV. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
it seems the Short URL instruction doesn't work for XWS. I tried all context/app path, action and servlet mapping and all of them do not seem to work on XWS. regards, mingfai On Mon, Mar 17, 2008 at 7:18 PM, Mingfai <[email protected]> wrote:
thx JV, the shorturl link is exactly what I need. http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
The first thing I try is the application name / context path. I made it the root application and changed the displayname accordingly. And I've cleared all cache and restarted already. Looks like the displayname parameter doesn't take effect. The following are the html code the site generates:
*<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="/xwiki/bin/view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" />
<script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script>
<link href="/bin/bin/skin/skins/albatross/css/lightbox/lightbox.css" rel="stylesheet" type="text/css" />
<link href="/bin/bin/skin/skins/workspaces/style.css" rel="stylesheet" type="text/css" />*
I run in JBoss 4.2.2. Any idea?
Regards, mingfai
On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[email protected]> wrote:
On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[email protected]> wrote:
- could anyone point me to where I may be able to customize the
space
name and url? basically, the use of "Space_" as prefix look quite
odd
to me and i would like to remove it. And if it is possible i would want to make the url shorter. Currently, it's something like: " http://mydomain.com/xwiki/bin/view/Space_username/", i am able to remove the context "xwiki", and i suppose it shouldn't be difficult to turn Space_username to username. It's most desirable to turn bin/view to nothing or make it a single "folder", e.g. remove "/bin" (i suppose the action cannot be removed.)
See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
JV. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, This is a regression introduced some while ago, it will be fixed in 1.3.1 Mingfai wrote:
thx JV, the shorturl link is exactly what I need. http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
The first thing I try is the application name / context path. I made it the root application and changed the displayname accordingly. And I've cleared all cache and restarted already. Looks like the displayname parameter doesn't take effect. The following are the html code the site generates:
/<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="*/xwiki/bin/*view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="*/xwiki/bin/*view/Main/BlogRss?xpage=rdf" />
<script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script>
<link href="*/bin/bin/*skin/skins/albatross/css/lightbox/lightbox.css" rel="stylesheet" type="text/css" />
<link href="*/bin/bin/*skin/skins/workspaces/style.css" rel="stylesheet" type="text/css" />/
I run in JBoss 4.2.2. Any idea?
Regards, mingfai
On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[email protected] <mailto:[email protected]>> wrote:
On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[email protected] <mailto:[email protected]>> wrote: > > > - could anyone point me to where I may be able to customize the space > > > name and url? basically, the use of "Space_" as prefix look quite odd > > to me > > and i would like to remove it. And if it is possible i would want to > > make > > the url shorter. Currently, it's something like: " > > http://mydomain.com/xwiki/bin/view/Space_username/", i am able to > > remove the context "xwiki", and i suppose it shouldn't be difficult to > > turn > > Space_username to username. It's most desirable to turn bin/view to > > nothing > > or make it a single "folder", e.g. remove "/bin" (i suppose the action > > cannot be removed.) > > See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and > in particular the xwiki.spacemanager.prefix param of xwiki.cfg. >
See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
-- Sergiu Dumitriu http://purl.org/net/sergiu/
hi, it seems the issue XWIKI-2056 refers to the context path. I've added a comment. http://jira.xwiki.org/jira/browse/XWIKI-2056 Correcting my own statement, the showviewaction does work. I thought it will hide /edit/, and other actions before. It should hide /view/ only. For the defaultactionpath, it seems to be broken as well. Regards, mingfai On Wed, Mar 19, 2008 at 3:41 AM, Sergiu Dumitriu <[email protected]> wrote:
Hi,
This is a regression introduced some while ago, it will be fixed in 1.3.1
Mingfai wrote:
thx JV, the shorturl link is exactly what I need. http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
The first thing I try is the application name / context path. I made it the root application and changed the displayname accordingly. And I've cleared all cache and restarted already. Looks like the displayname parameter doesn't take effect. The following are the html code the site generates:
/<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="*/xwiki/bin/*view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="*/xwiki/bin/*view/Main/BlogRss?xpage=rdf" />
<script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script>
<link href="*/bin/bin/*skin/skins/albatross/css/lightbox/lightbox.css" rel="stylesheet" type="text/css" />
<link href="*/bin/bin/*skin/skins/workspaces/style.css" rel="stylesheet" type="text/css" />/
I run in JBoss 4.2.2. Any idea?
Regards, mingfai
On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[email protected] <mailto:[email protected]>> wrote:
On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[email protected] <mailto:[email protected]>> wrote: > > > - could anyone point me to where I may be able to customize the space > > > name and url? basically, the use of "Space_" as prefix look quite odd > > to me > > and i would like to remove it. And if it is possible i would want to > > make > > the url shorter. Currently, it's something like: " > > http://mydomain.com/xwiki/bin/view/Space_username/", i am able to > > remove the context "xwiki", and i suppose it shouldn't be difficult to > > turn > > Space_username to username. It's most desirable to turn bin/view to > > nothing > > or make it a single "folder", e.g. remove "/bin" (i suppose the action > > cannot be removed.) > > See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and > in particular the xwiki.spacemanager.prefix param of xwiki.cfg. >
See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Mingfai -
Sergiu Dumitriu