Certain character string in RSS truncates the feed

Safari 3.1.2 - When the string "%&#$@" shows up in an RSS feed (presumably random - it was used in place of profanity), the RSS feed is truncated after the "%", so the rest of that article and all subsequent articles are not displayed. Bug? Or, are such character sequences supposed to be properly escaped or encoded somehow by the feed generator?
feed in question:
feed://syndication.thedailywtf.com/TheDailyWtf
link to the article, in case it has expired out of the RSS feed:
http://thedailywtf.com/Articles/The-Greatest-Idea-Contest.aspx

Hi,
The value that is written to the new record is the "r" (=return) value not the "d" (=display) value, so you should check the definition of the field on the new record to make sure that it is large enough to accept the CD_ORDEM_SERVICO value. If it is, you should then do a View Source on the page, locate the option tags and check the value attributes to make sure that they are being rendered correctly.
Andy

Similar Messages

  • Report error:ORA-06502: PL/SQL: numeric or value error: character string bu

    We face the above error in HTMLDB (APEX) application Ver 3.1.0. This occurs when we try to display more number of rows/records in drop-down list (LOV in tabular forms). We are able to display 200 records in LOV. When the list of records exceeds 230, we face the below error
    report error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the values listed in LOV are from tables (one of the columns in table)
    Could anyone give us a solution?

    Hi
    As you are using a tabular form, you could actually do the following:
    1 - In the tabular form column's attributes, set the following:
    Display as: Select List (query based on LOV)
    Display extra values: Yes
    List of values definition: SELECT null d, null r FROM DUAL
    2 - Add a new page item and set it to generate your select list
    3 - Create an HTML region with no template and use the following for its source:
    <script type="text/javascript">
    function loadList(c, l)
    var s = document.getElementsByName(c);
    var lItem = document.getElementById(l);
    var lLength = lItem.options.length;
    var k;
    var j;
    var x = lItem.innerHTML;
    var v;
    var o;
    var z;
    for (k = 0; k < s.length; k++)
    z = s[k];
    v = z.value;
    z.options.length = 0;
    for (j = 0; j < lLength; j++)
    o = new Option()
    o.value = lItem[j].value;
    o.text = lItem[j].text;
    z.options[j] = o;
    z.value = v;
    if (z.selectedIndex == -1)
    z.selectedIndex = 0;
    loadList("f05", "P1_MGR");
    </script>
    (Change "f05" and "P1_MGR" as appropriate to your column and your new page item respectively)
    Now, when you load the page, the select list contains a null entry plus the entry already on the database. The javascript kicks in automatically, loops through every entry in the "f05" column, copies the existing value, replaces the select list with the new page item version and sets its value to the copied value.
    Your new page item could be in a DIV tag that has a style of "display:none" to hide it from view.
    Andy

  • Conversion failed when converting date and/or time from character string

    Hi experts,
    I'm trying running a query in Microsoft Query but it gives the following error message:
    "conversion failed when converting date and/or time from character string"
    when asks me the data I'm inserting 31-01-2014
    i've copy the query form the forum:
    SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
         CASE  WHEN T0.TransType=13 THEN 'Invoice'
              WHEN T0.TransType=14 THEN 'Credit Note'
              WHEN T0.TransType=30 THEN 'Journal'
              WHEN T0.TransType=24 THEN 'Receipt'
              END AS 'Document Type',
         T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate IS NULL OR T0.MthDate > ?) AND T0.RefDate <= ? AND T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Hi,
    The above error appears due to date format is differnt from SAP query generator and SQL server.
    So you need convert all date in above query to SQL server required format.
    Try to convert..let me know if not possible.
    Thanks & Regards,
    Nagarajan

  • Error in notification - "character string buffer too small"

    Hi All,
    Hope everyone is doing great...
    I have issue with one of the procedure which sends out status email for the reports. Below is the code.
    It worked fine from last six months but today it failed because of the length of characters (more reports are added).
    The variable "l_an_report" is VARCHAR and it has crossed it limit so gave the below error. Not sure how to handle the report so that it includes all the data.
    Also please let me if this is good solution :- Have the report status in excel sheet and attach to the email.
    If its fine please let me know how i can achieve this and any prerequisite from network team we need to get?
    ERROR :-
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "REPORT_STAT.PACKG_EMAIL", line 441
    ORA-06512: at line 2
    Procedure PRC_SUMMARY IS
          l_an_report varchar2(32767);
          l_header VARCHAR2(1000);
          cnxn UTL_SMTP.connection;
          P_job           NUMBER (10)    DEFAULT TO_NUMBER (TO_CHAR (SYSDATE,'YYYYMMDD'));
    BEGIN
                          l_an_report := '<style type="text/css">
    <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
    <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
    <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
    </style>
    <center><b><font face="Arial">Summary Report '
                || '<br><br></font></b></center>'
                || ' <div align="center"><table width="90%" border="1" cellspacing="0" cellpadding="1"'
                || 'style="font-size: 10pt; font-family: Arial" > '
                || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                || 'Report</b></td><td align="center"><font size="3"> <b>'
                || 'Run Duration </b></td><td align="center"><font size="3"> <b>'
                || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;
                    FOR curr_refresh IN (SELECT
                                         AN.NAME report_NAME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME,
                                         ARH.JOB_STATUS STATUS
                                         FROM
                                         REPORT_HISTORY ARH,REPORT AN
                                         WHERE
                                         ARH.RUN_START_TIME>TO_DATE(SYSDATE-93)
                                         AND AN.report_ID=ARH.report_ID
                                         and arh.JOB_NAME like 'QA%'
                                         and arh.JOB_STATUS='Completed')
                                  LOOP
              l_an_report  := l_an_report ||
              '<tr><td align="center">'|| curr_refresh.report_name|| '</td><td align="center">'|| curr_refresh.RUN_TIME ||
              '</td><td align="center">'|| curr_refresh.STATUS ||
               '</td><td align="center">' || UTL_TCP.CRLF;                      
                exit when length (l_an_report) > 32767;                   
          END LOOP;
           l_an_report := l_an_report || '</table><br><br>';
                FOR curr_email IN (SELECT global_name instance_name,
                REU.EMAIL_USER_LAST_NAME last_name,
                REU.EMAIL_USER_FIRST_NAME first_name,
                REU.EMAIL_USER_EMAIL_ID,
                '[email protected]' mail_from
                                 FROM EMAIL_USER REU, EMAIL_GROUP REG,GLOBAL_NAME
                                             WHERE REU.EMAIL_GROUP_ID = REG.EMAIL_GROUP_ID
                                                   AND REG.EMAIL_GROUP_NAME ='IT') LOOP
                cnxn := UTL_SMTP.open_connection('smtprelay.ats.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.ats.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
                   l_header := 'MIME-Version: 1.0'||'
                   To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
                   From: ' || curr_email.mail_from || '
                   Subject: Summary Report for ' || curr_email.instance_name || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
                   Reply-To: [email protected]
                   Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
                UTL_SMTP.data(cnxn, l_header || l_an_report);
                UTL_SMTP.quit(cnxn);
          END LOOP;
    END PRC_SUMMARY;Please share your thoughts.
    Regards,
    Sunny

    >
    It worked fine from last six months but today it failed because of the length of characters (more reports are added).
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    >
    The error is because you don't check the length of 'l_an_report' until it is already too long.
    This code checks the length AFTER adding to it.
    >
    l_an_report := l_an_report ||
    '<tr><td align="center">'|| curr_refresh.report_name|| '</td><td align="center">'|| curr_refresh.RUN_TIME ||
    '</td><td align="center">'|| curr_refresh.STATUS ||
    '</td><td align="center">' || UTL_TCP.CRLF;
    exit when length (l_an_report) > 32767;
    >
    You need to test the length of the new string to be added to make sure it won't cause 'l_an_report' to be too long
    -- add a new variable in the declare section
    v_new_string VARCHAR2(2000);
    -- in loop do calc
    v_new_string := '<tr><td align="center">'|| curr_refresh.report_name|| '</td><td align="center">'|| curr_refresh.RUN_TIME ||
              '</td><td align="center">'|| curr_refresh.STATUS ||
               '</td><td align="center">' || UTL_TCP.CRLF;                      
    -- test length
    IF (length(v_new_string) + length (l_an_report) > 32767 THEN EXIT;But as others have said if you need to handle lengths > 32767 then use an attachment as shown in the links provided.

  • Want to truncate the integer part of a number

    hi gurus
    My requirement is round off a decimal value
    in such a fashion that
    if is 12.7767898 then convert to 12.50
    again if it is 12.498989 convert to 12.50.
    please help
    Thanks in advance

    You could do something like this:
    DATA: number(16) TYPE P DECIMALS 4.
               whole_part(16) TYPE C,
               remainder(4) TYPE C,
               value(20) TYPE C.
    MOVE number TO value.
    SPLIT value AT ',' INTO whole_part remainder.
    Then, examine the remainder:
    IF remainder(1) GE '5'.
      remainder = '5000'.
    ELSE.
    * do something else
    ENDIF.
    CONCATENATE whole_part ',' remainder INTO value.
    In your data display method, display this character string (value) instead of the numerical value (number).
    This is a bit unfortunate because you have to type cast your value to string, but it works well enough. Just make sure you don't have any arithmetical operations on this newly created data field because you will get an exception.
    Also, please note that this is not the complete solution, but only to give you an idea.
    Regards,
    SD

  • Detect a certain character and return it's index in the string

    what's the function that detects a certain character e.g."X" in a string line and returns its index then continues to detect the next 'X" in the same line. do i also need to store them in an array?

    You have to write one. Also, please stop starting new threads on this topic. This is all related to the same problem you're having, and posting so many threads makes it tough on everyone who wants to help you. It's rude, and wasteful of other people's time; namely, the folks that are actually trying to help you solve your problem.

  • How to change a certain character in a string?

    hi,
    how can i change a certain character in a string. Lets say i have a string s="0000" and i want to change the last character (s.charAt(3)) to be a 1. how would i go about doing so?

    i did this
    num.charAt(lspace) = s.charAt(i+1);and am getting an errorThat's because you can't do that. You should go for one of the alternatives mentioned above.
    Kaj

  • I would like to do a program that have one string control and one string indicator, any character that I type in the string control in the same time it will be appear in another string (indicator). How can help me?

    I would like to do a program that have one string control and one string indicator, any character that I type in the string control in the same time it will be appear in another string (indicator). How can help me?

    Why not use an event
    Add a While Loop, inside the loop add the Event Sructure.
    Now in the event structure selecd the String Controls.value change event to
    react
    and the new value inside the event that you get,( connect to the String
    indicator box.
    On Sun, 10 Aug 2003 15:58:47 -0500 (CDT), WiltonFilho wrote:
    > I would like to do a program that have one string control and one
    > string indicator, any character that I type in the string control in
    > the same time it will be appear in another string (indicator). How can
    > help me?
    >
    > I would like to do a program that have one string control and one
    > string indicator, any character that I type in the string control in
    > the same time it will be appear in another string (indicator). How can
    > help me?
    >
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

  • RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of

    RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of apple's terms and conditions? Please help

    See this post.
    tt2

  • Can RSS feeds be synced via Firefox Sync? Currently I can see my RSS links but the feeds appear to be all empty.

    I set up Firefox sync on my phone and a few desktops. I have several RSS feeds included which sync perfectly on the desktop version of Firefox, but on my phone the feeds don't load (even though I can see the containing link).
    otherwise, Firefox Mobile is great - I like it enough that I switched to Android from an iPhone!

    Hi,
    Thanks for using Firefox for Android! I have heard of an issue with live bookmarks that sounds similar to the one you are having. The forum thread about that is over here: https://support.mozilla.org/el/questions/930847 Maybe it is helpful to you? Let me know if the problem you are having is different and I'll get a separate bug filed or ask the engineering / quality team to investigate it.
    Best regards,
    Michelle

  • RSS/itpc/why can't I change the feed address on my iWeb page?

    So...I'm good on HTML and computers in general but I'm a little vague on the whole 'hosting' and 'feed' thing.
    I've made a podcast in Garagebang. I clicked SHARE WITH iWEB.
    no problem
    I made my webpage for it in iWeb (web.mac.com/hordover)
    no problem
    Folks on PCs can't use the SUBSCRIBE button
    problem.
    I've spent most of today trying to switch the feed button...I'm stuck.
    I've signed up at FeedBurner (but I'm gathering this doesn't actually HOLD the file). I've got an account at OurMedia.com, but can't get the file uploaded for some reason (using their uploading program, not the website. Podcast's 30mb).
    I'm not sure what to do next or where to go next.
    But the RSS feed on the SUBSCRIBE button has the code "itpc://" which doens't appear to be...anything.

        Weinmaster5,
    I understand your concern and definitely want to help! Have you tried adding the additional caregiver this way http://vz.to/1zE7nMX?
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • How can I truncate the time zone from a Date object without using String?

    Does anyone know how to truncate the time zone portion of a Date object and maintain the object as Date, NOT String?
    I just need the date, i.e., 05/02/2008 as a Date.
    Thanks.
    JDev1

    Although you haven't said so, I expect you must be having some problem with that?
    My wild guess: the server is creating a Date object and setting its time component to zero (midnight). Of course since Date doesn't have a timezone, that would be midnight in the server's timezone. Then you are interpreting that date as if it were in your timezone, and since you are west of the server, it appears to be 11 PM or 9 PM or something on the day before.
    What we do is to send our timezone to the server and tell the server to use it when creating the Date object. Alternatively, when formatting the Date object you could use a SimpleDateFormat with the server's timezone applied. There are no doubt other solutions that could be provided if we had a description of your problem.

  • RSS Reader - refresh the Feeds list?

    I'm using the Spry RSS example. I want to refresh the Feeds
    list (on the left side of the page) every 5 seconds. I've added the
    following line...
    dsCategories.startLoadInterval(5000); // Start loading data
    every 5 seconds.
    I can see the browser making the data call every 5 seconds,
    however the Feeds list on the page doesn't update. Any
    ideas?

    I've tried chaining the data sets and it still doesn't work.
    When the page first loads, I see the GET to
    "/getFeedList?alert=dsFeeds". However, when I call
    dsFeeds.loadData() I never see the HTTP request taking place. I
    should see the GET to "/getFeedList?alert=dsFeeds" again, but I
    never do.
    Here's my code...
    var d = new Date();
    var dsFeeds = new
    Spry.Data.XMLDataSet("../getFeedList?alert=dsFeeds&cachebuster="
    + d.getTime() , "Feeds/Feed", { sortOnLoad: "Label" , useCace:
    false });
    var dsCategories = new Spry.Data.XMLDataSet(null ,
    "Feeds/Feed/Category", { distinctOnLoad: true, sortOnLoad:
    "Category", useCache: false });
    var dsChannel = new
    Spry.Data.XMLDataSet("../getRSS?id={dsFeeds::Handle}&alert=dsChannel&cachebuster="
    + d.getTime() , "//channel" , { useCache: false });
    var dsArticles = new
    Spry.Data.XMLDataSet("../getRSS?id={dsFeeds::Handle}&alert=dsArticles&cachebuster="
    + d.getTime() , "//item" , { sortOnLoad: "pubDate" ,
    sortOrderOnLoad: "descending" , useCache: false });
    dsArticles.setColumnType("pubDate", "date");
    function updateCategories(notificationType, notifier, data)
    if (notificationType != "onPostLoad")
    return;
    var doc = dsFeeds.getDocument();
    if (doc)
    dsCategories.setDataFromDoc(doc);
    dsFeeds.addObserver(updateCategories);
    setTimeout(function() { dsFeeds.loadData(); }, 5000);

  • I cannot find the list of RSS feeds so I can delete one. I import into Outlook where I deleted the feed, but can't reload the RSS feed.

    When I use Explorer, there is a place that lists all my RSS feeds which I can delete, open, etc.. I cannot find a similar location on FireFox.
    There is a RSS feed that I am having problems downloading to my Outlook and I would like to delete the feed & reload. (I have deleted from my Outlook.).
    Any suggestions on where I can find a list of my RSS feeds?

    Firefox doesn't keep a special list of RSS feed items.<br />
    Those are treated like all other bookmarks and are managed in the Bookmarks Manager (Library).
    * Bookmarks > Show All Bookmarks
    IE stores each favorite as a separate folder on the hard drive and probably needs a special handling for its feed items, but Firefox stores the bookmarks and history in one database file places.sqlite.
    So if you haven't placed all RSS feed items in one bookmarks folder or have otherwise tagged them then it will be difficult to locate them all.
    * https://support.mozilla.org/kb/Live+Bookmarks

  • When I try to add an RSS or Atom feed, I get a dialog box with Open or Save instead of adding the feed to NewsFox like it used to do.

    With Firefox 4.x, when I added a feed, it would open NewsFox in a new tab, and bring up a dialog box with info about that feed. I would click on "test this feed" and it would put all available items into NewsFox. Now, I get this dialog box with Open or Save. If I click on Open (declaring Firefox as the preferred app), then it opens the feed itself, it doesn't add it to NewsFox. I've tried going into Options and about:config but don't see anything to change that would fix this problem. I tried Search in Firefox Help but no relevant threads came up.

    Thanks Cor-El. I already have it set to "Use NewsFox." I'm stumped.

Maybe you are looking for

  • Data extraction from transctional data source

    Hi all,          In bw 3.5 I am fetching data from r3 , vendor evolution(2LIS_02_S013) is name of that data source it is   transaction type data source at that time  data source(2LIS_02_S013) successfully replicate in bw after it i make infoarea and

  • Samsung ST1000 Camera - Bluetooth Problem

    Has anyone managed to pair a Samsung ST1000 with an Imac? My Imac seems to be able to see other devices and works well with my Magic Mouse, but it can't 'find' my camera and the camera can't see either my Imac or my Macbook. Any suggestions?

  • Bank statement delete

    Hi, if we delete bank statements usinf program RFEBKA96, which table does it gets deleted from..? when i check FEBEP, I can see that documents are posted against this statement no. so deleting bank statement, does it have any impacts on documents pos

  • Dynamic App Launcher tiles

    Hi , I am using a dynamic app launcher tile in the fiori launchpad. I am using Odata in the Service URL parameter, but i see that only number is getting bound to the tile where as other parameters like title,information are not getting bound to the t

  • Electronic Signature Products

    I have 5 computers that need to the ability to electronic sign, what would be the best product?