Looking for good first example for RSS

Hello,
I am looking for a good code example which will guide me how to use RSS at the portal. Can anyone please direct me to such example?

Hi Roy,
    I am posting a xslt that filters the news by searching for any news that has "Troops" and "Pope" in the title of the news. I can send you the complete par if you email me your address at [email protected] You owe me lunch buddy. :). The following xslt is for http://rss.news.yahoo.com/rss/world feed.
[code]<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/rss/channel">
<a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
<xsl:for-each select="item">
<xsl:variable name="titlestring"><xsl:value-of select="title"></xsl:value-of></xsl:variable>
<xsl:variable name="pope">Pope</xsl:variable>
<xsl:variable name="troops">Troops</xsl:variable>
<xsl:if test="contains($titlestring,$pope) or contains($titlestring,$troops)">
<table>
    <tr>
         <td class="urTxtStd">
              <a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
         </td>
    </tr>
    <tr>
         <td class="urTxtStd">
             <xsl:value-of select="description"/>
         </td>
    </tr>
</table>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>[/code]
Message was edited by: Prakash  Singh

Similar Messages

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • How to set up Airport Extreme with Charter ARRIS Modem TM902A for the first time for WIRELESS.

    How to set up Airport Extreme with Charter ARRIS Modem TM902A for the first time for WIRELESS.
    When Charter Tech goes to your site, have them connect the modem up, but do not connect the modem to your iMAC or MacBook Pro.  What you want to do is connect the Airport Extreme to the iMac or MacBook Pro first with the Ethernet Cable. You have to do this to configure via Airport Utility to set up the Base Station Name & Base Station Password.
    You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple Tv, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
    Wireless Security will be -> WPA/WPA2 personal or just WPA2
    Enter the Wireless Password you want
    Verify the Wireless Password (enter it again)
    After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
    Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
    Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
    about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow.  Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
    For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green.  If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
    If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
    The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green.  Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.
    WHAT TO DO IF YOUR AIRPORT EXTREME WAS PREVIOUSLY SET UP FOR USE WITH ANOTHER CARRIERS ROUTER OR MODEM.
    NOTE:  If you already had your Airport Extreme connected for example, I previously had ATT Uverse and the Airport Extreme was connected to the Wireless Router Model 3801HGV, I disabled the Uverse Wireless and used the Airport Extreme for the Wireless signal in bridge mode, as the Airport extreme Signal is much stronger than the Uverse router, and I was able to obtain a Wireless signal with the Airport Extreme way much better with no signal loss which was very very frustrating with the Uverse router.
    Anyhow if you had it hooked up like this, now that you will be using it with the Charter ARRIS Modem TM902A, you will need to reset the Airport Extreme to clear out the old data it has in memory, with the previous set up otherwise it will not work. Trust me I spent 6 hours trying to make it work reading all Apple Support Community questions and answers relating to this type issue/problem others have been having trying to get their set up working. I tried all the tips, and I finally decided just to see if by chance I would be able to connect with someone with Charter Tech support who might be familiar with Apple to be able to assist me and by luck I did.  He told me why it was not working and was all due the previous configuration with the ATT Uverse router was still in memory with the Airport Extreme. Finally it was 10:30 PM when I decided to call Charter Tech Support and I had been working on this since 3:00 pm pacific. I did not call them earlier as all the post I read said they never received any good help from Charter. After calling them I finished up by 11:00 PM and was able to finally connect Apple Tv, iMac, iPhones and Macbook Pro. We love our Apple Product and Happy all is connected with the new
    Internet Provider Charter. I must say the speed is way way much better than it ever was with AT&T Uverse. 
    THIS IS WHAT YOU WILL NEED TO DO:
    First you will need to unplug the Airport Extreme, then by taking the tip of a pen or paper clip end you need to push the reset button on the back of the Airport Extreme and hold it
    down and at the same time plug the power cord back into the Airport Extreme count to 5 or 10 then release the reset button. Then once he light in front of the Airport Extreme stops blinking you need to plug the Ethernet cable from the Airport Extreme to your iMAC or Macbook Pro, and restart which ever one you have, then open the Airport Utility once it is back up.  If you see airport extreme pop up with the old network name or it shows and yellow triangle click on the Airport Extreme ICON it will not let you configure it but will ask if you want to get rid of it or remove and just do it.  Then Again restart your iMAC or MacBook Pro, open up Airport Utility again, and on the top left you should see under “Other Airport Base Stations” the MAC ID for the Airport Extreme.
    You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple TV, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
    Wireless Security will be -> WPA/WPA2 personal or just WPA2
    Enter the Wireless Password you want
    Verify the Wireless Password (enter it again)
    After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
    Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
    Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
    about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow.  Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
    For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green.  If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
    If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
    The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green.  Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.

    I just got a Charter Modem. Model TM822. While I was moving, my Airport Extreme was still at my old place.
    I have a Linksys WRT320N I used for the initial Charter setup.
    I can get my Airport to work here, but the Internet light on the Modem flashes Yellow.
    Hasn't caused any issues so far but one thing I did notice.
    On the Linksys there were 3 DNS servers listed.
    The Airport Extreme only lists 2 and i don't see where I could add another, only change whats already there.
    I tried everything above, but light on modem still flashes yellow.
    I have the technicians cell phone. Told me "that shouldn't be" and gave the same advice listed above.
    I'll break down and call Charter one day, see if it's on their end. NSA tracking may need a reset LMAO.

  • Are there any good code examples for displaying preview images in the storefront?

    I can gather other info using folio.xxx, but can not find any good examples to use for preview images.  Tried folio.getPreviewImage() with no success.  Oh, I should mention it is version 2.  Plenty of examples for version 1.
    Perhaps if I get a little more specific.
    I am calling up the folios via:
           adobeDPS.libraryService.folioMap.addedSignal.add(function(folios) {
                for (var i = 0; i < folios.length; i++) {
                    addFolio(folios[i]);
            }, this);
    This eventually works into a function where I am gathering and displaying folio data:
         var productId = folio.productId;
        var html  = "<div id='" + productId + "'>";
            html +=     "<a href='#'><img class='shadow' width='120' src='' border=0 /></a>";
            html +=     "<br /><span class='bold'>" + folio.title + "</span>";
            html += "</div>";
        this.$el = $(html);
    folio.title works fine to pull up the title, but I can no longer use folio.getPreviewURL in v2.  What code should I be using to set the src to the preview image?
    Thanks

    Have you looked at the default implementations of the library?
    In FolioItemView's render function, there is a function(follow the nested functions!):
    setTimeout(function(){ scope.loadPreviewImage() }, 100);
    It references this function (this doesn't copy well):
    loadPreviewImage: function() {
    if (this.el.parentElement) {
    var transaction = this.folio.getPreviewImage(135, 180, true);
    transaction.completedSignal.addOnce(this.getPreviewImageHandler, this);
    Going deeper, into the getPreviewImageHandler function is where you see the url value..
    if (transaction.state == adobeDPS.transactionManager.transactionStates.FINISHED && transaction.previewImageURL != null) {
                                  this.$el.find(".folio-thumb").attr("src", transaction.previewImageURL);
    Within the example is also code for supplying a preview when the Adobe API is not available:
    (Within the render function)
    var json = this.model.toJSON();
    $folioThumb.attr("src", json.libraryPreviewUrl);
    If you're making any changes to where the preview is displayed, you can just swap out the class ".folio-thumb" to whatever the class (or id) is of the element you're wanting to render the preview in.

  • Looking for NIDAQ Functions/​Examples for 'Analog I/O DMA' and 'Digital I/O DMA'. (I am using 6024,6503 boards and VC++ in my project)

    I am using 6024,6503 boards. I need to implement AnalogInputDMA /AnalogOutputDMA,DigitalInputDMA and DigitalOutputDMA blocks for another software. Why there are no NIDAQ functions used with 'DMA' ?

    Alan;
    The NI-DAQ doesn;t have any functions to specifically access the DMA transfers, because that is done automatically for you. Once you set the data transfer to use the DMA channels, all the rest is handled by the driver.
    Once you set up an Analog input task, and select the data transfer to use the DMA channels, you won't have access to the DMA channels but to the datapoints after the transfer.
    Regarding the digital side of the application, I think that what you are looking for is a pattern input/output type of application, that will use DMAs for data transfer.
    The 6503 doesn't offer that functionality. To accomplish that application, you will need one of the board of the 653x family.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National
    Instruments

  • Recommendations for good external mouse for Lenovo X200

    Hi
    I would like a mouse that connects via a usb port. Suggestions appreciated. Thanks!
    Solved!
    Go to Solution.

    i understand....much more that you think...
    I buy since 1993 ThinkPads ....and in all the years I have spent well over 120,000 euros ....and I think I'm right to judge....and i am loyal to ThinkPad ...my last is the 2015 Carbon...
    anyway...
    I just do not understand a thing....why people never believe...what some people after years of professional experience want to make them a gift.....and want to spare them all the hassle and trouble...etc...they do not want to believe it..what is good and what is bad...please in the future ...try first ...and then judge...
    the MX Revolutions runs more than 14 days.(contained electric motor)...without having to load it...
    (inide is one Li-Ion Battery)
    my english is bad sorry for this...
    and I watch also here on the Lenovos Community Forum site
    what some Administrators writes....
    My message to them is ......you still have much to learn.....and learn and learn again...
    the goal from Lenovo is to be worldwide absolute number one  ....and I appreciate  that very much...
    Knowledge is Power...
    Lenovo For Those who Do...
    dear Lenovo Forum Administrators..
    here are these people who will help you...
    if you have to ask how you can be better...etc.
    http://www.lenovo.com/lenovo/hk/en/management.shtml
    Thank You...for the understanding...
    Best Regards from Germany

  • How to delete FOR GOOD, Once and for all, a podcast?

    Hi I have subscribed to a podcast that I want to delete. I cal click on delete, it geos away, and yet the next time I start itunes there it is again? THis has been going on for a month now... so I hope someone can hlpe me get rid of for once and for all this haunted podcast.
    Can you delete it from the folder instead of from itunes? I have never done something like this...
    Please help! Halloween is over and this is not funny anymore!
    nd

    This sounds like something having to do with Home Sharing rather than iTunes Match. Nothing will be downloaded from the cloud unless you specifically click the button. 
    There is a setting in the Home Sharing settings of iTunes that will copy music from one computer to another when ever iTunes is opened on both computers at the same time. I don't have multiple computers so I don't remember exactly where that setting is, but this KB article should be helpful <http://support.apple.com/kb/HT3819>. If the page doesn't load the first time just reload it.

  • Recommendation for good sound card for test & measurem

    There are quite a lot sound card based oscilloscope, spectrum analyzer, signal generator softwares, such as multi-instrument?. An ordinary?sound card?can only measurement signal within 20Hz~20000Hz range (with flat frequency response),? I would appreciate it very much if anyboday here could recommend a sound card that can extend the above frequency range as?wider as possible, towards both the lower end and higher end.

    Such software is pure bullhit, because every soundcard has its flaws, wich will render the results unuseable. And the next point: most soundcard- drivers and the OS itself are changing the signal in a different manner. Maybe vollume boost, or reverb effects, some signal changing to get better results in terms of audio quality and signal clarity, and so on. Get a Oscilloscope. Maybe you will need to sell your house for a good one, but this is the only good solution ^^?The best soundcard for this purpose is not a real soundcard, but a recording card. There are some expensi've models out there, especially terratec or EMU. (I dont know really if EMu is selling REAL recording cards)Message Edited by fffcmad on 0-5-20082:24 PM

  • Recommendations for good mouse pad for new Magic Mouse?

    Hi, I have several mouse pads with a microfiber, but my new Magic Mouse doesn't operate smoothly on them. Sometimes it hangs up, or is slower to move than at other times. I tried an expensive one made of coated glass, but the noise of the Magic Mouse (with its two long strips) rubbing on the coated surface was too much, so I returned it. Any recommendations? Thanks! Duncan

    I have one of these. Works great, looks cool next to the keyboard!
    http://www.allsop.com/mousepads-and-wrist-rests/cupertino-mouse-pad/
    Or try here:
    http://www.google.com/search?client=safari&rls=en&q=mouse+pads&ie=UTF-8&oe=UTF-8

  • Getting the first row for each group

    Hi Everyone,
    I have a query which returns a number of rows, all of which are valid. What I need to do is to get the first row for each group and work with those records.
    For example ...
    client flight startairport destairport stops
    A fl123 LGW BKK 2
    A fl124 LHR BKK 5
    B fl432 LGW XYZ 7
    B fl432 MAN ABC 8
    .... etc.
    I would need to return one row for Client A and one row for Client B (etc.) but find that I can't use the MIN function because it would return the MIN value for each column (i.e. mix up the rows). I also can use the rownum=1 because this would only return one row rather than one row per group (i.e. per client).
    I have been investigating and most postings seem to say that it needs a second query to look up the first row for each grouping. This is a solution which would not really be practical because my query is already quite complex and incorporating duplicate subqueries would just make the whole thing much to cumbersome.
    So what I really new is a "MIN by group" or a "TOP by group" or a "ROWNUM=1 by group" function.
    Can anyone help me with this? I'm sure that there must be a command to handle this.
    Regards and any thanks,
    Alan Searle
    Cologne, Germany

    Something like this:
    select *
    from (
       select table1.*
       row_number() over (partition by col1, col2 order by col3, col4) rn
       from table1
    where rn = 1In the "partition by" clause you place what you normally would "group by".
    In the "order by" clause you define which will have row_number = 1.
    Edit:
    PS. The [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#i81407]docs have more examples on using analytical functions ;-)
    Edited by: Kim Berg Hansen on Sep 16, 2011 10:46 AM

  • Any example for a MFC, WTL or Win32 without Measurement Studio?

    It seems that NI wants you buy their Measurement Studio which can easily cost you a fortune. I am looking around a simple example for MFC, WTL without touching the measurement studio. But if you do not have measurement studio, NI only gives you very old examples in ANSI C which is difficult to implement to MFC or WTL. Apparently they want to increase their revenue by forcing you to buy the Measurement Studio. But I will not buy their hardware in the future if this is their strategy.
    Anyone successfully implement the ANSI C example to MFC or WTL without measurement studio? Can you share an example?

    Junqi,
    Im a little confused with this request in general. What development environment are you using? Visual Studio? Also, what language are you coding in? We provide C, C#, VB.net, and legacy VB6 examples with our DAQmx driver that do not require measurement studio. They can be found in documents\National Instruments\NI-DAQ\Examples 
    Now forgive me if Im misinformed about this, but MFC and WTL are just libraries that have some of the windows API wrapped into them, correct? If so, I dont see how interfacing with them is any different than interfacing with any other library, or why this would cause issues with doing DAQ calls. If you need help with the MFC or WTL library, there are many good places to find help with on the internet. MSDN, codeproject.com, and many others come up as having examples of using MFC in various projects.   
    The MS examples dont install withough MS because they wouldnt be able to be used because they use libraries that are installed with measurement studio, so they would be nonfunctional and largely useless. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • Did I just lose all my music for good?

    Is there any way to get back the libray source file if I accidentally sent it to the "recycle bin" ( actually it's an incinerating demon). All titles are stil listed the songs just cannot be located. Will a newer version of itunes allow me to re-download already previously purchased music? Please someone tell me some good news
    thanks

    I was trying to clean up my library because I just got a new music hard drive and loaded the songs incorrectly the first time and tried again, successfully. So I had duplicate copies of my new music. I tried to remove them, grabbed the wrong file, put it in the recycle bin. Unaware of the size limit of my recycle bin, I thought foolishly that I could put it there and go get it back if it was the wrong file. It disappeared immediately.
    I have been able to find my mp3 files and listen to them one by one, though I'm still not sure if it's everything since that file I threw out just vanished for good.
    THanks for the help

  • GI:How to set Indicator:Item Not Relevant for Goods Movements LIPS-NOWAB

    Hi,
    does anybody know what i have to do to get the Indicator: Item Not Relevant for Goods Movements set for a good issue delivey position? (Table LIPS field NOWAB)
    thanks in advance
    Steffen

    Hi,
    the thing is the following (maybe it doesn't work at all, i don't know) :
    a) i have a "Non-stock" material (e.g.material type NLAG)
    b)this material should be picked, so it should be relevant for the delivery (e.g.item category TAX)
    c) for a special reason the "Total goods movement status" in the outbound delivery header shouldn't be "Not relevant", therefore i assigned the item category TAX to a shedule line category that has a movement type (e.g. CN)
    d)but the bad thing is, that the customer has set the indicators "quantity updating" and "value updating" for the material type NLAG, and so the goods issue posting gets some errors. eg.g missing storage location etc.)
    During debugging i found a coding that checks the sign NOWAB of lips, the documentation says:
    "You can use this indicator to control whether the item is relevant for goods movement when the delivery is still being created.
    When this indicator is set, goods movement is not posted for this item - regardless of the movement type assigned  to it."
    So i head the idea it might be possible to set this indication (Lips-nowab) somewhere in the sales order or somewhere else but maybe this conflicts with point c) above .
    Maybe shomeone knows what to do or has a better idea.
    Best regards
    Steffen

  • Transaction codes for goods issue,Initial inventory,purchase contract......

    hi experts,
                can any one know the transaction codes for  Goods issue,Initial Inventory,
    purchase contract,billing data and the table name in which inactive vendors and active vendor are available.
                          thanking you

    Hi,
         mb5b, mb51  for goods issue
    MI01  for Initial Inventory
    ME31K for Purchase Contract
    MIRO for Billing data
    in SAP easy access
    under Financial accounting >Accounts payable-> information systems-->masterdata report
    you can display blocked vendors also as a list there using those reports.
    the vendors which are blocked are inactive vendors
    <b>Reward points</b>
    Regards

  • No Ranges for Goods receipt document

    Hi,
    Can we create two no ranges for goods recei[pt for two different plant under same  company code.

    hi,
    u cannot maitain different no ranges plantwise.
    it is assigned to document type and movt type combination.
    u can have a GR/IR slip no different for different plants.
    regards,
    sujit

Maybe you are looking for

  • How do I access my iMac remotely when working away from the office?

    I work away from the office for much of the time.  How can I access my iMac remotely?

  • Loading itextsharp in SharePoint 2013 Project

    I added the reference to itextsharp.dll to my SharePoint 2013 project in Visual Studio 2013 Pro. When I run the project, I get an error: "Could not load file or assembly 'itextsharp, Version=5.5.0.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca'

  • Visual support bars in graphs' backgrounds

    Hi, is it possible to get those visual support bars in graphs' backgrounds or would I have to create them manually? http://tinyurl.com/graph-example Thanks!

  • Rules Quota Increase not Taking Effect

    I increase the size of the Rules Quota limit from 64KB to 256KB. However, when trying to add new rules in Outlook it still says "One or more rules cannot be uploaded to Microsoft Exchange and have been deactivated.  This could be because some of the

  • Ias samples not working windows2000advanced ias sp5

    Ias sample applications is not working(even fortune). Os windows 2000 advanced server sp2 appserver ver ias6.5 webserver iis 5.0 configured cgibin as mentioned in the release notes errorERROR: Unknown Type of Request Please Check the URL