World News Portlet - RSS Content Syndication

Hi,
The world news porltet given with the Sample Portal of Bea weblogic 7.0 throws
an error of "StringIndexOutOfBound -1"
Could anyone give any pointers as to what could be the reason for this error.
Could it be the problem with the proxy ? if yes then any pointers to how it could
be solved would be helpful.
Thanks,
Parul

Yes it works :)
Choose the type XML
XML URL: ...
XSL-Filter-URL: http:// - server - /omniportletnews.xsl.xml
see my xml below.
view: choose -> HTML
Layout:
head:
<TABLE BORDER='0' WIDTH="100%">
middle:
<TR CLASS='PortletText1'>
<TD>##title##</TD>
</TR>
fooder:
</TABLE>
thats all.
save the following xml on a availible web server: omniportletnews.xsl.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- This XSL is provided as example to show how to consume RSS and RDF using OmniPortlet -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="1.0" xmlns:rdf090="http://my.netscape.com/rdf/simple/0.9/">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/rss/channel">
<rowset>
<xsl:for-each select="item">
<row>
<link><xsl:value-of select="./link"/></link>
<title><xsl:value-of select="./title"/></title>
<description><xsl:value-of select="./description"/></description>
</row>
</xsl:for-each>
</rowset>
</xsl:template>
<xsl:template match="/rdf:RDF">
<rowset>
<xsl:if test="rdf090:item">
<xsl:for-each select="rdf090:item">
<row>
<link><xsl:value-of select="./rdf090:link"/></link>
<title><xsl:value-of select="./rdf090:title"/></title>
<description><xsl:value-of select="./rdf090:description"/></description>
</row>
</xsl:for-each>
</xsl:if>
<xsl:if test="rss:item">
<xsl:for-each select="rss:item">
          <row>
<link><xsl:value-of select="./rss:link"/></link>
<title><xsl:value-of select="./rss:title"/></title>
<description><xsl:value-of select="./rss:description"/></description>
</row>
</xsl:for-each>
</xsl:if>
</rowset>
</xsl:template>
</xsl:stylesheet>

Similar Messages

  • Content Server News Portlet major design flaw ?!

    I ran into a Content Server 6.1 issue which is really frustrating me. I am wondering if I am doing something wrong or if it is a design flaw: 1. I created a content server news portlet "out of the box" and added it to my MyPage.2. I created and published 2 news articles.3. I edited the 1st article and just saved it. I did NOT PUBLISH it.4. I edited the 2nd article and PUBLISHED it. The news index is re-published automatically to reflect the changes of the 2nd article which has been published. But the index now displays the changes of BOTH articles, even the unpublished! Furthermore the 1st article can't be opened from the index anymore if the name property has been changed. As the published file name changes with each version and especially when the name is updated, the news index links to the new published file name - but it has never been created as I didn't publish the 1st article! I understand why this is happening: The index content item holds a list of all article content items and is published whenever an article is published / deleted / expired. But until now I thought that content server is holding the last published version and includes this into the list until a new version is published. That's not the case! Imagine this on a production environment with workflow activated: one article was approved and published while the other still needs to be reviewed, but it's (unreviewed) index data like headline etc. is already displayed in the index?! And in worst case the article can't even be opened. You just get the server error "page not found". Many of my content items for a current big project follow the idea of the news template, e.g. HR Staff Overview (persons = articles, overview = index), so I am kind of stressed by what I found out. Has anybody made similar a experience and found a workaround for this? Perhaps one of the support people could explain how the news portlet is intended to be used with this severe behaviour? Am I expecting too much? Is updating an already published article not possible? But why are version mechanisms included for content items then? I appreciate your comments. Thanks.

    Thanks for the quick reply.
    We are using Content Server 6.1 with all Hotfixes installed and we are not planning to upgrade to G6 at the moment.
    As far as I understood the 'filtered.published' property contains the date the content item was published the last time. So it will always be 'true' if the item has been published in the past, no matter if it's currently published or not.
    The index template with the code snippet you sent will display the currently not published (but changed) item properties whenever another item was published. Have you changed the design in 6.2 so that properties of an item in a list property of another item are just copied and not linked?
    As a workaround I now compare the 'modified' property with the 'published' property and if it is greater or equal I don't display it in the index. But that's not the way Content Server was designed to behave, is it? With this solution I can suppress the item in the list if it has been modified after the last publishing, but of course I rather want to have the data of the last published version.
    Isn't that possible? Is it possible in 6.2? Is there any way to update Content Server to 6.2 without acquiring G6?
    RegardsStefan

  • Content Express Template for News Portlet bundeled with Personalization

    Is the template (and other files) to manage data for the news viewer of the personalization
    server available?
    I would like to add my own news items throught content express.
    Thanks for the help
    guy

    Well this is in the head tag
    <html>
        <!--<![endif]-->
        <head>
            <meta charset="UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1" />
            <title>55k Productie | E-marketing</title>
            <link href="boilerplate.css" rel="stylesheet" type="text/css" />
            <link href="stylesheets/style.css" rel="stylesheet" type="text/css" />
            <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
            <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <![endif]-->
            <script src="respond.min.js"></script>

  • Create new portlet?

    On my development server, I was able to create a new portlet, which I configured to display the content from a .ASPX file. It displayed properly. Now, on my production server, I cannot create a blank portlet where I can edit the portlet to display the .ASPX file's content. Is there something I am missing here?
    My configuration is : Plumtree 5.0.3 with Collaboration Server 4.0, Content Server 5.0.4, WebLogic 8.1, with SQL Server 2000 (SP3) on Windows 2003 Server Standard Edition.
    Thanks for any help/suggestions.

    So you have an ASPX page all ready to go.  I assume you know the URL for the ASPX page.  Let's say its http://www.myserver.com/companyname/myapp/mypage.aspx.
    In the portal, you need to create three things to get this to work:
    1. Remote Server
    2. Web Service - Remote Portlet
    3. Portlet
    You then need to:
    4. Add the Portlet to a page
    1. Create a Remote Server
    Go into a folder in Administration, then choose &#034;Create Object&#034; - &#034;Remote Server.&#034;
    Put http://www.myserver.com/companyname as the &#034;Base URL&#034;.  Click &#034;Finish&#034;, give it a name, such as &#034;MyCompany Remote Server.&#034;
    2. Create a Web Service - Remote Portlet
    Still in Administration, choose &#034;Create Object&#034; - &#034;Web Service - Remote Portlet.&#034;  Click the Browse button and find the Remote Server you just created (you did give it a descriptive name, didn't you?).  In the &#034;Portlet URL&#034; box, fill out the rest of the URL to the ASPX page.  In our example, it would be &#034;myapp/mypage.aspx&#034; (without the quotation marks).  For now, that should be enough.  If you want to add preferences or help pages or other things to your portlet, you can set more stuff inside here.  Click &#034;Finish&#034; and give the Web Service a Name, such as &#034;MyApp Web Service.&#034;
    3. Create a Portlet
    Still in Administration, choose &#034;Create Object&#034; - &#034;Portlet.&#034;  Choose the Web Service you just created, decide whether the portlet should be a &#034;Narrow&#034; or a &#034;Wide&#034; portlet (Narrow portlets can be placed on Wide columns on a page, but Wide portlets cannot be placed on narrow columns on a page).  Click &#034;Finish&#034; and give the Portlet a name, such as &#034;MyApp Portlet.&#034;
    4. Add the Portlet to a Page
    At this point you have created the portlet.  The next thing you will want to do is to view it.  To do this, you have to add it to a page - either a MyPage or a Community Page.  Let's put it on your MyPage.  Click on &#034;My Pages&#034; in the top-left corner of the browser and go to one of your My Pages.  Click the &#034;My Pages&#034; tab again, and this time choose &#034;Add Portlets.&#034;  Find the Portlet you just made, check the checkbox next to it's name, and click &#034;Finish.&#034;  You should now see the ASPX page in your MyPage.
    That's all there is to it.  You can get fancy and do all sorts of extra stuff inside the Web Service, but if all you want to do is display a ASPX page (or for that matter, any URL that returns HTML content), this is all you have to do.
         Tim Larson
         Mission to the World

  • Publisher News Portlet Not Working

    Hi,
    We use Publisher 6.5 with Oracle WCI 10gR3 portal. We have a News Portlet in our home page which has suddenly stopped displaying any content. It has a huge number of news articles, i.e. around 250 Plus articles.
    We found a setting in the DET relating to max items which was set to 200, we increased it to 400, and published the whole folder, but things still did not work out.
    If we try to preview the portlet while adding to another page, we are able to see the content, but once the portlet gets added, nothing displays once again. Also in Publisher Explorer, the content item attached to the News portlet is not getting displayed if we click Preview. We get an error message "Error - Requested resource is currently unavailable. Request to the remote server has timed out. Try again later or contact your portal administrator.
    Gateway was not able to access requested content. If the error persists, contact your portal administrator. "
    Please can anyone help as this is an urgent issue

    First you should contact Oracle Support and get this set as a priority one issue and escalate it so that you get the fastest possible response.
    It sounds to me like you've blown away your index.
    I'd check the following:
    1)
    go into your publisher directory <portal home>/ptcs/publishedcontent/publish/<path to your content>
    Verify that the content is actually still there (actual html files of each of your news articles).
    2)
    go into publisher explorer and check your articles folder (in the appropriate area) and verify that your content is still there.
    3)
    Within the problematic folder, open the Content Item Index - this will contain all of the items that you've posted to your announcement portlet.
    If someone checked-out this file and then did an "undo-checkout" I believe it blows away all changes since the last "check-in" which typically is nothing, and blows away all your content - which would cause precisely the problem you are seeing.

  • Studio Server Portlet page content change

    Where do I change the content of default page created by STUDIO PORTLET WIZARD? How do I access that page?
    Any tips or hints would be greatly appreciated.ThanksSnehal

    Travis,
    I just spoke to the engineer working on this for the 4.1 release and it has
    already been implemented. If you want to do some custom coding I think you
    can also write a JSP that exposes the API methods to your users to change
    the display name.
    http://edocs.bea.com/wlp/docs40/javadoc/wlp/index.html
    Sincerely,
    Daniel Selman
    "travis wissink" <[email protected]> wrote in message
    news:3cc46327$[email protected]..
    >
    Dan,
    Actually, I think the "display-name" is the more appropriate element toedit.
    >
    This is a bummer; this appears so naturally for the example, when in factits going
    to be nearly impossible for a "Business User" to edit such a file. Iguess my main
    request to the EBCC group is if there is an option in any of theassociated schema's,
    e.g. the "display-name" element in the portal-1_0.xsd schema, then providea way
    to edit it via the EBCC.
    Thanks,
    Travis Wissink
    "Daniel Selman" <[email protected]> wrote:
    Travis,
    It looks like you are going to have to edit the XML by hand to introduce
    the
    space into the portlet-name. E.g.
    <portlet-name>ReviewNewsletters</portlet-name>
    goes to:
    <portlet-name>Review Newsletters</portlet-name>
    I will take this up with the EBCC engineers and file a CR. Please let me
    know if this does not solve the problem.
    Thanks (and sorry),
    Daniel Selman
    "travis wissink" <[email protected]> wrote in message
    news:3cc45bd8$[email protected]..
    Subbu,
    I've been all over the ebcc. Even inside of the xml files. Nowhere dois
    see the
    possibility of manipulating the "Display Name" of the portlets in theebcc
    at all.
    Of course when you create a new portlet you can name it but that namehas
    restrictions
    against it, e.g. no spaces.
    Do you know specifically where I can manipulate that attribute in theebcc?
    -Travis
    Subrahmanyam Allamaraju <[email protected]> wrote:
    Sorry for mt wrong answer. You've to do this via the EBCC. Check the
    default portal configuration.
    Sincerely,
    Subbu

  • Working with 'News Portlet'

    Hi,
    I wish to keep a news portlet in my Home Page.
    This portlet must go through all the features of content management....like it must have content writers..and editors who will edit and approve the news and publisher(Admin) who will publish the news according to the schedules and will expire the content by keeping the expiring dates....
    My Question is i kept my Home Page as as a PAGE in some 'xyz' page group....and i need to maintain the work flow flow for this particular news portlet....so can u suggest me how to achieve the work flow...i know a page group can maintain work flow like approval and notifications....but how to keep and maintain all thease in a smart way...
    i will be thankfull for ur kind reply...
    Thanks&Regards
    Prasad

    Krishna,
    I think your questions go beyond the scope of what we can cover in this forum. If possible, I recommend that you get some training on the Portal product or work with Oracle Consulting to help you draft out an approach to managing and publishing your content. What you want to accomplish (if I understand it correctly) is not difficult, but may take a little experimentation with various Portal features before you hit on the right approach for your needs.
    Very briefly, you can try these things:
    - Managing and publishing your content on the same page - this is the easiest approach and perhaps the best place to start
    - Managing your content on one page and then publishing that page as a portlet on your home page. This is also very simple. The two pages can be in different page groups. Content that is pending approval will not show up in the portlet.
    - Using a custom search portlet to display the content on the home page: Using the custom search portlet, you can display any content that you want. For example, selecting all items where the category = "News" with a publish date of today. The content can be managed anywhere, even on multiple pages. The search portlet will aggregate the content from across the repository. Again, the search portlet will only show approved content which the current user is authorized to see.
    - Finally, you can build a custom portlet that queries the content repository views to select any content that you want and display it any way you want.
    Also, if you are just getting started I suggest that you upgrade to 9.0.2.6.
    Regards,
    Jerry
    PortalPM

  • Add new portlets to ptportletcontainer

    Hello,
    I successfull imported the jsr168 portlet Container in my portal. My example portlets also work good. Now I would like to add an existing jsr168-struts-portlet to the container.
    How does this work?
    Thanks Spin

    Doyle wrote:
    Thanks for that. It does seem a little unlikely that Portal admin console would
    be used to upload and install new java classes. Sadly my boss/customer appears
    to have bought Portal licences on that basis. I'll break the news to him gently.Also consider the security issues when you try to upload and deploy
    classes/JSPs on a live server without dev/QA involvement. Your security
    folks will be quite happy to know that this cannot happen ;)
    You can however deploy those portlets on a different portal app (on the
    same server or a different server), and use admin tools to create a
    proxy portlet. Proxy portlet is like any other portlet as far as
    administration is concerned, except that it uses WSRP to aggregate the
    original portlet. This feature is available on dev2dev, and will be part
    of SP3.
    Subbu
    >
    >
    "Chris Jolley" <[email protected]> wrote:
    There is an API that exists for creating portlets in the database, However,
    the
    content (JSP or page flow the portlet refers to)would have to reside
    already in
    the ear.
    "Doyle" <[email protected]> wrote:
    Hello,
    Does anyone know if new portlets can be added or uploaded through the
    portal admin
    console ?
    I am curious if there is some way to add portlets which are not in a
    portal's
    ear file.
    thanks!
    -BD

  • What's new in BI Content 7.35

    Hi Folks,
    Please let me know what is new i[SAP NetWeaver BI Content BI content 7.35 like new scenarios or new objects?
    I am looking at this link:
    [SAP NetWeaver BI Content|SAP NetWeaver BI Content]
    They show:
    What's New with BI Content Addon 7.04?
    What's New with BI Content Addon 7.05?
    But there is no update about 7.35.
    There is another link, which talks about the complete BW 7.35 content but not specific to new version.
    [Documentation for SAP NetWeaver 7.3 BI Content Add-On 5|http://help.sap.com/saphelp_bic735/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm]
    Please help in collecting new things in BI Content 7.35.
    Thanks in advance,
    Ashish

    So it's mostly a security fix release, according to this:
    http://www.adobe.com/support/security/bulletins/apsb11-21.html
    Ok, so that clears it up. Thank you!

  • Create a new portlet  in Deployed Portal in production environment

    are there any ways to import or create a new portlet in Deployed Portal in production environment?
    Edited by: user8322798 on May 1, 2011 7:26 AM

    This can done via WSRP proxy portlets and streaming desktops. First, you'll need to have a WSRP producer setup somewhere. This could be another WLP webapp with portlets, or another server altogether. Or, you can use the JSR 286 WSRP import tool from within the Portal Administration Console (I think it's under Services | WSRP | Import Tool) -- this will allow you upload .war(s) of JSR 168 or 286 portlets, which will be turned into WSRP producer(s).
    Then, you can use the Portal Administration Console to register a WSRP Producer, and then add portlets from the producer to your desktop (http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_fed_books_pages.htm#FPGWP690). Additionally, once the producer has been registered in Portal Adminstration Console, an adminstrator user can use the Dynamic Visitor Tools from within the streaming desktop itself to add wsrp proxy portlets to the desktop (http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/dvt.htm#PDGWP691).
    It is not possible to add new local .portlet files to a deployed application in production mode. This requires adding the file artifacts to the .ear/.war and redeploy the application.
    Greg

  • Problems in creating new portlets with WLCS3.1

    Hello,
    I've the following problem with Weblogic Commerce Server 3.1:
    I have added a new portal and it worked great. I put severals
    predefined portlets and it worked too.
    But when I tried to add a new portlet (the simple welcome.html
    doc sample), I just see the titlebar of it.
    Can someone help me ?
    Thanks

    Have u created the data providers

  • New on demand content

    When and how often does new on demand content get uploaded? Also there doesn't appear to be any content from Nat Geo?

    Nat Geo (& Nat Geo Wild) have a section in the Catchup players for their available programmes if you have the Entertainment package. There is a very small amount of content for both channels. 
    Don't know if BT offer any Nat Geo archive programmes on demand anymore - doesn't look like it as they are not listed channels within the TV box set category.

  • Register a new portlet using API ?

    I have problems registering af new Portlet using the portal UI, and are looking at ways of doing this programatically using the API's (wwpro_api_provider or other).
    I have only found API functions for registering the Provider, not the individual portlets.
    Have anybody found ways of doing this ?
    Best regards
    Martin Nielsen
    Denmark

    Martin,
    If you are really developing your provider, ie, adding more portlets to it, please make sure you Refresh the provider in the Navigator page - Provider tab - over the link "Refresh". This will read the provider.xml file again. This is a good thing that you'd like to do it while you are developing your site (as the information in the provider.xml changes a lot).
    Like Harsha said... you cannot register individual portlets.
    I hope it helps...
    Cheers,
    Pedro.

  • 813 new library services / content manager:  anyone using in production

    Greetings,
    I'm looking for feed back on the new library services / content manager in 813.
    We're currently using InterWoven for CMS to WLP7. We're migrating WLP7 to WLP813 and are pondering whether the CMS built into WLP813 is solid, usable and production ready?
    If so we'd drop use and support costs for Interwoven.
    What would be lost that I can imediately see is easy promotion of content between dev, qa, prod. We'd have to use DB replication scripts. Could use helps here too.
    BTW, I found a nifty DB/table migration tool: opendbcopy.org
    Thanks for any thoughts, curt

    Do you have a particular reason for purchasing this specific device?
    i.e I use a QNAP TS410 nas which does all that you want on mac flawlessly, so at the minimum add this to your potential list.

  • How can i get getwayed url string using pluggable nav in news portlet?

    hi.
    How can i get getwayed url string using pluggable nav in news portlet?
    A code just like below is what I want.
    <param value="param=http://.../portal/server.pt/gateway/PTARGS_.../http/...">
    I tryed the following, but didn't work as I wanted.
    1.<param value="<pcs:valueexpr='var'/>">
    -> transformed. but I want the prefix 'param=' in the enquoted string's too.
    2. <param value="param=<pcs:valueexpr='var'/>">
    -> not transformed.
    Any idea?
    Hiroyuki

    Hi all,
    We have HPROF functionality in our latest roadmap, so you will see that feature in our next major release called JRockit R28.
    I recommend, above from the MemLeak documentation suggested by Makiey, the following information on how to use JRockit tools.
    Performance Tuning & Profiling:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_02.html
    Using JRockit tools:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_03.html
    Diagnostics & Troubleshooting
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_04.html
    Best Regards,
    Tuva
    JRockit PM

Maybe you are looking for

  • Use of an application view for SAP R/3

    Hello, I created an Application View of my SAP R/3 backend and integrated it into Weblogic Workshop. I fire a request to the BAPI through the App View, but nothing happens. I thought I get a response through the response event??? Maybe someone has an

  • Customized Logon Message: Failure in uploading the login warning message

    We need to upload a security banner for our customer on the Unity Connection Servers. Following the directions in the help file to upload a text file in the Cisco Unified Operating System Administration page, under Software upgrades / Customized Logo

  • Problem: native Photos app crops my images

    I have a problem with the native Photos app (MobileSlideShow.app) does not display my images properly - "cropping" the top and bottom - when I view the image in portrait mode. Let me illustrate this with an example. Here is my original image, dimensi

  • CS6 FOR MAC USERS: UPDATED TO CAMERA RAW 8.4? READ THIS

    PLEASE READ THIS... http://helpx.adobe.com/bridge/kb/acr-84-bridge-cs6-metadata.html

  • I need know the concept of instance servlet

    i know the servlt instance when thecomming request or on load start up but i need improve of the servlet istance may be have in our application more than one of the instance servlet (i mean one servlet more than one instance ) or in our servlet have