How can I turn off the "shortcut" URLs where /bin/Space/Page is
interpreted as /bin/view/Space/Page?
(Specifically, I'm using mod_redirect to clean up the URL
architecture and need to assume that anything prefixed /bin that
isn't /bin/view needs to be passed through as an action.)
- - -
Hans Gerwitz
http://phobia.com/
I've posted a fix for bug #XWIKI-283, and I hope someone can include it
in the next release.
When trying to show an RSS or RSS2 feed in a wiki page using the {rss}
macro, you will see text like:
"SyndContentImpl.value= ... {blog text} ...
SyndContentImpl.type=text/plain"
Here's the fix to java/com/xpn/xwiki/render/macro/rss/RSSMacro.java.
It applies to xwiki 0.9.743 through subversion June 20, 2006. and to
rome 0.6 through 0.8.
185c184
< .append(NEWLINE).append(entry.getDescription())
---
> .append(NEWLINE).append(entry.getDescription().getValue())
218c217
< .append(NEWLINE).append(entry.getDescription())
---
> .append(NEWLINE).append(entry.getDescription().getValue())
Explanation:
The following code appends the result of
com.sun.syndication.feed.synd.SyndEntry.getDescription(). That would be
fine if getDescription returned a String, but in fact it returns a
feed.synd.SyndContent object.
buf.append(NEWLINE).append("<div class='rssitemdescription'>")
.append(NEWLINE).append(entry.getDescription())
.append(NEWLINE).append("</div>");
My test cases were:
RSS: {rss:feed=http://gigazad.blogspot.com/rss.xml|count=4|full=true}
RSS2:
{rss:feed=http://www.mikegiesbrecht.com/Blog.php?feed_type=rss2|count=1|full=true}
More details below.
--
Trevor Cox
skahasoftware.com
Vancouver, Canada
Ludovic Dubost wrote:
>
> Looks like I missed this one !! There is probably a bug with to little
> encoding of what we get from the feeds.
> You should report an issue in http://jira.xwiki.org
>
> Ludovic
>
> Trevor Cox a écrit :
>
>> Has anyone looked in to RSS2 feeds and the {rss} macro? As far as I
>> can figure out, RSS2 is a new version of RSS. My {rss} macro works
>> fine with RSS feeds that are not labelled RSS2 (although Google seems
>> to block access somehow).
>>
>> I tried upgrading to the latest version of rome.jar, 0.7, but that
>> didn't help. A Google search showed that many XWiki users are having
>> the same problem I am.
>>
>> When I use {rss... |full=true} I see the following text. I've put in
>> bold the text that I should be seeing. The rest is coming from the
>> ROME code (not directly from the RSS source).
>>
>> SyndContentImpl.value=*Be sure to check out my November Newsletter
>> for important tips for Buyers! Click on the Newsletter tab on my
>> Home Page and read about 6 questions a Buyer should ask before making
>> an offer. Read More <http://mikegiesbrecht.com/ViewBlog/14/>*
>> SyndContentImpl.type=text/plain SyndContentImpl.interface=interface
>> com.sun.syndication.feed.synd.SyndContent
>>
>>
>> -Trevor Cox
>> http://skahasoftware.com
>> ------------------------------------------------------------------------
>
Hi,
As a first approach (we'll need more refinements later on) I'd like to
propose the following changes to the xwiki/trunk directory and build
structure:
xwiki/trunk
|_ core/
|_ web/
|_ web-exo/
|_ distribution/
Where:
core/ : Generates the xwiki.jar artifact
web/ : Generates the xwiki.war artifact
web-exo/ : Generates the xwiki-exo.war artifact
distribution/ : Generates the distributions (binary and sources)
I'm proposing to make these changes one by one and to always keep the
current build working. Of course I'm volunteering to make the changes.
WDYT?
Thanks
-Vincent
___________________________________________________________________________
D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences.
http://fr.answers.yahoo.com
> -----Original Message-----
> From: Vincent Massol [mailto:vincent@massol.net]
> Sent: jeudi 28 septembre 2006 12:10
> To: 'xwiki-dev(a)objectweb.org'
> Subject: RE: [xwiki-dev] Ok to use svn:externals?
>
>
>
> > -----Original Message-----
> > From: jeremi joslin [mailto:jeremi23@gmail.com]
> > Sent: jeudi 28 septembre 2006 11:48
> > To: vincent(a)massol.net
> > Cc: xwiki-dev(a)objectweb.org
> > Subject: Re: [xwiki-dev] Ok to use svn:externals?
> >
> > Hi vincent,
> > I've look at this function for the subproject GELC.
> > The problem is I don't think it's possible to use it for getting the
> > projet and for commiting.
> >
> > We can't use it for commits because we don't use the same URL for
> > commiters(developpers are over ssh) and users (over svn protocol).
>
> I understand your point now. I'm checking if there's a way to have a
> single trunks/ dir. Otherwise the alternative is to have 2: one for
> committers and one for anonymous users. Or we can decide that the trunks/
> dir is only for committers. WDYT?
>
> I'll get back to you after I do some experiments.
Ok as you said there's no way to have both definitions in one svn:externals
definition unless you're using the https protocol.
Thus I modify my proposal to have:
trunks-users/ (uses svn protocol)
trunk-devs/ (uses svn+ssh protocol)
WDYT?
Thanks
-Vincent
> PS: Of course the best would be to have a https:// protocol as we have @
> Apache.
>
> > On 9/28/06, Vincent Massol <vincent(a)massol.net> wrote:
> > >
> > >
> > >
> > >
> > > Hi developers,
> > >
> > >
> > >
> > > Right now it's pretty painful to checkout xwiki trunks. You have to do
> > it
> > > one by one manually (xwiki/trunk, xwiki-apps/, xwiki-clients/,
> > > xwiki-plugins/emailnotification/trunk, etc).
> > >
> > >
> > >
> > > I'd like to create a trunks/ directory in
> > > svn://svn.forge.objectweb.org/svnroot/xwiki and create some
> > > svn:externals definitions so that anyone doing a checkout of
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/trunks will get
> > > all the svn trunks checked out in one go (see
> > > http://svnbook.red-bean.com/en/1.0/ch07s03.html if you
> > > don't know what svn:externals are). This is a pretty standard way of
> > using
> > > subversion done by lots of projects I know.
> > >
> > >
> > >
> > > Here's what I suggest as svn:externals definitions for trunks/:
> > >
> > >
> > >
> > > xwiki
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk
> > >
> > > xwiki-apps/agilepm
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-apps/agilepm
> > >
> > > xwiki-apps/gelc/gelcv1
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-
> apps/gelc/gelcv1/trunk
> > >
> > > xwiki-clients
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-clients
> > >
> > > xwiki-plugins/emailnotification
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-
> > plugins/emailnotification/trunk
> > >
> > > xwiki-plugins/lucene
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-plugins/lucene/trunk
> > >
> > > xwiki-plugins/task-manager
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-plugins/task-manager
> > >
> > > xwiki-sandbox
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-sandbox
> > >
> > > xwiki-tools
> > > svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki-tools
> > >
> > >
> > >
> > > Let me know if this is fine and I'll create it (provided I still have
> > right
> > > access to the repo).
> > >
> > >
> > >
> > > Thanks
> > >
> > > -Vincent
> > >
> > >
> > >
> > > PS: We'll also need to rationalize the trunk/, branches/ tags/
> directory
> > a
> > > bit better I think but that's for later J
> > >
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the xwiki-
> dev(a)objectweb.org
> > > mailing list.
> > > To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
> > > For general help: mailto:sympa@objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
> > >
> > >
> > >
> >
> >
> > --
> > jeremi
___________________________________________________________________________
D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences.
http://fr.answers.yahoo.com
Hi folks
I've done a simple XWiki Macro for JIRA :
This is very similar to the Atlassian Confluence 'jiraissues' macro.
The descriptive page is here :
http://wiki.easybeans.org/xwiki/bin/view/Doc/JIRAMacro
Enjoy !
Guillaume