Plone portal transforms outdated? - plone

I want to have a custom text transformer in Plone, but when I started to read documentation I realized that the document is for
an unsupported version of Plone, Plone 2.1.x
which is far away from the edge. Here is my question:
Is portal transforms really outdated or old technology. If so, what's the successor?

portal_transforms is still in use in Plone 4.2. Attempts have been made to modernize it, but nothing as yet has replaced it.

Related

What is a content selector in Sonatype Nexus OSS 3.0?

I was playing around with Sonatype Nexus OSS 3.0, trying to figure out how to pull off repository targets, when I came across content selectors. I am unable to find any documentation whatsoever on them, which I find odd.
What is a content selector, are they similar to repository targets, and how are they used? I am using Sonatype Nexus OSS 3.0.0-03.
Seems they added the documentation about ContentSelector in the 3.1 release.
find the doc here
I'm wondering the same thing! Looks like there's a JIRA ticket raised for documenting that.
I'm able to create a simple one (e.g. asset.group=junit) using JEXL, based on the javadoc in the unit test for Selectors, but I'm not sure how it's used. Maybe it will be a searchable field to find matching components?
I also found the following article published last week which suggests that it will be available in 3.1:
In addition 3.1 includes a number of other great features such as PyPi
support and Content Selectors. But I can tell more about that another
time – today we are going to look at migration.

Is Plone 5 multilingual?

Is the version 5 of Plone finally having an official multilingual solution that work? I did try Plone 4 but no multilingual solution was official or was working properly. I hope Plone 5 fix the problem.
plone.app.multilingual is a standard part of Plone 5. After installing Plone 5, activate it via the "add ons" control panel of site setup. Then use the "Languages" control panel to set available languages and translation parameters.
For earlier versions of Plone, install Products.LinguaPlone via the usual add-on package mechanisms. While LinguaPlone does not ship with Plone 4.x, it is a well-supported content-translation mechanism and it does work (though plone.app.multilingual is much better). Translation of Plone's user interface does not require LinguaPlone; it is meant to support content translation.
Both solutions also support adding translation support for custom content types.

fme datalist extension for alfresco community 4.0.c

Hi I know that fme datalist extension is not fully compatible with community 4.0.c. But wanted to try it out. I installed the jar files and it seem to work fine for the datalists i had created earlier. But the side effect of this I noted, when i create a new site and send an invite to somebody, the ACCEPT or REJECT button does not show up in the tasks (for the invitee to accept or reject). Not sure what's going on.but a hint in the positive direction would help me debug? thanks
I finished migrating the fme datalists extensions to 4.0 this week. Fixed the issue you are referring to today. You might want to have a look at http://www.contentreich.de/alfresco-extended-datalists-migrated-to-4-0 and the source at github. Aside from https://issues.alfresco.com/jira/browse/ALF-16153 and Solr issues with filtering, there are no more problems I am aware of. I think I'll be fixing the filtering to support solr based repos as well.

How to update Flex SDK in Flash Builder 4.6

As an owner of Flash Builder 4.6 I'm struggling with 2 problems in my web application:
XML parsing makes the whole application sluggish
Russian input in TextInput doesn't work with Opera
I wonder, if there is a new Flex SDK available for download, where some fixes might have been integrated since the Flash Builder 4.6 release several months ago.
So I have downloaded the "Flex SDK version 4.6.0.23201 is the latest production quality release" and installed it:
However this seems to be a version, which differs very little from the stock Flex SDK included with Flash Builder 4.6 originally.
My questions is: is there some good (i.e. fresh, but also tested/stable) source for Flex SDK, which would be suitable for Flash Builder 4.6?
Maybe I can check out the source from some repository and build it myself (how, please?).
Does Apache offer anything, since they are the new owners?
UPDATE:
I've checked out Apache's Flex with
svn co https://svn.apache.org/repos/asf/incubator/flex/trunk flex
(and have yet to figure out, how to build it) - isn't it newer and better?
is there some good (i.e. fresh, but also tested/stable) source for
Flex SDK, which would be suitable for Flash Builder 4.6?
Yes, that would be Adobe. I am not aware of any updates to Flex 4.6 since it's release late last November. It's only been three months. I believe the bulk of Adobe's work around Flex has been getting legal approval to submit Flex to Apache. They are getting that slowly.
You can download the source for the Adobe Flex SDK from opensource.adobe.com. Read this for info on getting the source from the Adobe SVN repository.
Does Apache offer anything, since they are the new owners?
The Apache project is still formally waiting for donations from Adobe, including their testing suite. But, some code is submitted from Adobe. A few people have submitted some new components, and there has been work done around localization. The Apache project does not have a formal release yet.
You should be able to get the Apache Source from SVN as an anonymous user. The trunk includes the framework dump from Adobe; but I haven't delved in myself. I know people have successfully built the Flex SDK from the Apache trunk. Here are some instructions on how to do it with IntelliJ
I should add that I'm not sure if updating the SDK will solve any XML parsing issues you have. But, it's tough to say for sure since you went into no details on what those issues are. My mobile game uses a 30K line, 1MB XML file for the level definitions and it has no problems parsing it effeciently.
Flex SDK sources
You can find the latest source code through the Flex Apache incubator page and use Subversion to check it out. However since the migration of the Flex SDK from Adobe to the Apache foundation is still very much in progress, I sincerely doubt that there would already be significant changes that would fix your issues.
The actual issues
XML parsing makes the whole application sluggish
XML parsing is a pure ActionScript matter and has nothing to do with Flex. It is closely related to how the Flash VM works, which is still closed property of Adobe. I don't think it is subject to change any time soon, mostly because I've heard very little complaints about its performance and the E4X language is one of the most powerfull around. If you're having performance issues better have a look at your architecture or work with AS model objects instead of XML.
Russian input in TextInput doesn't work with Opera
This is either related to the Flash VM (see above) or to the Text Layout Framework, which is "open-source", but still in the hands of Adobe. Whether it should also be contributed to Apache Flex is still being discussed. In both cases very little will change in the short future, so I think you'll have to try another approach.
Are you sure it has anything to do with the SDK? If the problem of cyrillic chars exists only in Opera - then it's more like a problem of Opera and its Flash-plugin.
This is what you get with Flex SDK 4.5 and Opera 11.61:
There might be another problem if you're using some font that doesn't have the cyrillic char subset (e.g. not using the default font). But if that were it, it would affect all browsers, not just Opera.
привет землякам!

Good resource for the ATOM and RSS specification?

I've been trying to find the "official" documentation for ATOM and RSS so I can program against it. The problem I'm running into is that there are a lot of places that includes parts but never the whole specification.
Does anyone know of a good reference for both of these syndication formats thats reliable and contains the whole specification?
UPDATE: I did find this one for ATOM. Not sure if this is official but it looks pretty promising. I'm going to read some more on it.
The official RSS 2.0 spec is here:
http://cyber.law.harvard.edu/rss/rss.html
I am the author of the spec.
The official Atom spec is here:
https://www.rfc-editor.org/rfc/rfc4287
See https://www.rfc-editor.org/rfc/rfc4287 for the official Atom Syndication Format specifications. Also, here are some more links I found useful:
A good getting started guide to Atom 1.0 (Apparently this is the official home page but I found it lacking in detail as compared to the above link.)
Comparison of RSS and Atom (You really should be using Atom 1.0 for new feeds).
Validate your Atom feed.
PubSubHubbub (A way for users to subscribe to changes in your feed and your site to publish changes to the feed).
Building Atom Feeds for ASP.NET MVC (Although this is for MVC, it's still worth a read to learn about PubSubHubbub, icon and logo sizes and more about Atom feeds).
The latest official version of the RSS spec is here:
http://www.rssboard.org/rss-specification
The current version is 2.0.11 published on March 30, 2009. The above link will always point to the latest version, and there are links to archived versions on that page.

Resources