Mozilla RSS error

Hi, I have 2 rss questions that I hope you can help me with
1.)I tried to use "
http://www.adobe.com/cfusion/webforums/forum/rss.cfm",
adobe's rss feed on
http://www.feedvalidator.org
but it does not validate, but why is it still used?
2.)the code (below) works in IE, but when I open rss.cfm in
Firefox, I get error message: XML Parsing Error: xml declaration
not at start of external entity Location:
http://soohoo/crimestoppers/test/rss.cfm
Line Number 2, Column 1:" How can I fix this? Thanks so much
-C
<!---My code...--->
<cfset NumberOfFeedItems = 10>
<!---
<cfquery name="getLatestPublishedArticles"
datasource="yourDB">
SELECT TOP #numberOfFeedItems# *
FROM yourContent
ORDER BY PublishedDate DESC
</cfquery>
--->
<cfset theDatetime = "#dateformat(now(), "ddd, dd mmm
yyyy")# #timeformat(now(), "HH:mm:ss")# PST">
<cfsetting enablecfoutputonly="yes">
<cfsavecontent variable="theXML">
<cfoutput>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- RSS generated by DevX on #theDatetime# -->
<rss version="2.0">
<channel>
<title>DevX Featured Content</title>
<link>
http://www.devx.com</link>
<description>Latest DevX Content</description>
<language>en-us</language>
<copyright>Copyright 2002 DevX</copyright>
<docs>
http://backend.userland.com/rss</docs>
<lastBuildDate>#theDatetime#</lastBuildDate>
<image>
<title>DevX</title>
<url>
http://www.devx.com/assets/devx/3182.gif</url>
<link>
http://www.DevX.com</link>
</image>
</cfoutput>
<cfloop from="1" to = "#numberOfFeedItems#"
index="ctr">
<cfscript>
title = "titleXXX";
description = "titleXXX";
description = "titleXXX";
date = "titleXXX";
time = "titleXXX";
authors = "titleXXX";
pubDate = date & " " & time;
</cfscript>
<cfoutput>
<item>
<title>#title#</title>
<description>#description#</description>
<link>
http://www.devx.com/content/id/</link>
<author>#authors#</author>
<pubDate>#pubDate#</pubDate>
</item>
</cfoutput>
</cfloop>
<cfoutput>
</channel>
</rss>
</cfoutput>
</cfsavecontent>
<cffile action="write"
file="C:\Inetpub\wwwroot\Crimestoppers\test\rssXml.xml"
output="#theXml#">
<cfcontent type="text/xml">
<cfoutput>#theXml#</cfoutput>

after you load your rss.cfm in FF, view the page's source to
see what's
actually being displayed - your rss feed or some cf/server
error...
also in the source view check that the <?xml...?> line
is THE FIRST LINE
on the page, with NO blank or text lines before it.
i think a dev version of CF puts a comment line "dev edition.
not for
production use blah blah" on the first line of every page it
processes,
so if you a checking your rss on a dev edition of CF that may
cause the
problem. it also makes the rss feed fail validation.
technically, you can do without the <?xml ...> line in
your file
completely... the rss feed will still validate (though with a
warning,
but which is only visible when you try to validate the rss -
your users
will not see any difference).
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • I am unable to copy and paste text from mozilla, clipboard error

    Hi-
    It seems I am suddenly unable to copy and paste anything from mozilla into other text editors (word, wordpad, notepad).
    I am unable to use ctrl c or v, when trying to do Edit-copy or paste it seems as though nothing is "recognized" by Mozilla.
    I'm using a netbook running Win7.
    In an effort to fix this problem I restarted firefox, started in safe mode, disabled all plugins, returned to default settings, and have done basically everything except for uninstalling and reinstalling.
    Are there suggestions? I looked in older posts, but I also do not have the pushow.dll(or something like it) or the new.net(or comparable) malware so I cant get rid of that either.
    Any help is greatly appreciated!
    Kyra

    Firefox button > Web Developer > Error Console or {Ctrl + Shft + J} from the keyboard
    Do you have any messages relating specifically to that error? <br />
    You can right-click a message and use Copy to get that message into the clipboard - and then Paste it here. (If that works.)
    Beyond that, try a new Profile (don't Delete your current Profile). <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

  • RSS Errors

    Hi all,
    Having problems adding new RSS feeds (from other websites) to
    my site. When I preview the page from the actual xslt file, the
    feed shows up correctly, however when I attach it to my page (using
    the xslt tranformation button from data tab) and preview, I get the
    error:
    MM_XSLTransform error.
    The specified file /feeds/caribbean_recipe.xsl could not be
    found.
    I've tried this with another feed with the same result. Any
    idea what I'm doing wrong?

    I think the problem according to the error you got it the
    line
    $mm_xsl2->setXSL("/feeds/caribbean_recipe.xsl");
    I don't think you can do a root level link like that unless
    it is a full one like /homepages/hske/html/.....
    Try a test page making it a relative link and see if that
    works. I know I had issues with file locations and links.
    $mm_xsl2->setXSL("../feeds/caribbean_recipe.xsl");

  • IWEB RSS error, the file is  uploaded though...xml not found!

    I get the folling error...
    When I click on RSS Subscribe...
    "....Not Found
    The requested URL /public_html/Site/Blog/rss.xml was not found on this server......."
    and yet the xml file is indeed there.
    Any ideas?
    Thanks!

    The uploaded welcome.html did NOT take
    This really does need a separate thread.
    But all you do is add the tags you want to the
    published html using any text editor. You can
    probably even do this directly on the server with a
    program like TextWranger.
    What do you mean by "not take"? Would not upload?
    Doesn't show up in your browser? Make sure you
    clear your browser cache.
    It took the server a few minutes to catch up - of course i refreshed....
    Thanks again!

  • Frequent RSS error message from iTunes U

    Several of our courses have been contacted with the following error:
    iTunes U could not update the content because the specified RSS feed does
    not conform to RSS specifications. There is a duplicate title or globally
    unique identifier (GUID) child element in an item. Until the issue is
    resolved, iTunes U continues to display the last downloadable version of the
    content. Verify that the title or GUID child element in the item located at
    11 is unique, and then try again.
    Here is the feed:
    http://deimos3.apple.com/WebObjects/Core.woa/Feed/indiana-public.3442237928.0344 2237936
    I've done what I can to look at the feed. I can't use the W3C validator because it chokes on the "itunes" tags, but from what I can see, it looks alright.
    Anyone else run into this kind of thing before?

    After taking another looks, and moving the feed into TextMate and running Tidy on it, there are two enclosures from the original feed (this is a registered podcast from another source) that have the same GUID, just as it says.

  • Mozilla-bin error

    i get this error allthe time when clicking links and trying to open attached files online. My application (safari or netscape) unexpectedly quits and this is the only explanation i get. Is this viral???

    well it seems to be more fundamental than that as it happens whenever i run ANY browser.. safari and chrome being the others i have tested.. from looking at activity monitor i can see shockwave freezing a lot so it maybe be part of apples underhanded campaign to discredit adobe... class action suite anybody!?

  • Unable to open Mozilla Firefox Error- unknown software exception occurred in the application at location 0x7c812fd3

    Whenever i click on Mozilla Firefox, this message appears and Firefox won't open. I tried to uninstall and then reinstall it but that didn't help. I still can't open Firefox. My Google Chrome and IE work fine.. Can you please tell me what's causing this problem and what i can do to fix this? Please help me out.

    Hello Helen
    Please try to start firefox into safemode by pressing the shift key while the application is launching & disable hardware acceleration in the firefox menu ≡ > options > advanced > general (that setting will take a restart of the browser to take effect).
    https://support.mozilla.org/en-US/kb/firefox-crashes-troubleshoot-prevent-and-get-help#w_check-to-see-if-the-crash-happens-in-safe-mode
    check out if the crash happens in safe-mode

  • Everytime i open Mozilla Firefox appears several messages saying that there were errors on adding toolbar element or menu element.How can i get rid of this?

    I changed my operative system in my computer to windows 7 and add several plugins to my mozilla firefox, and after that i couldn´t find the plus signal to open a new page in a new tab.So, everytime i opened a new page it oppened a new firefox window, and this was very boring.So, i tryed to open mozila in safe mode and tryed to add some extras and i think it was because of this that i started to have several boxes from java script application opening and telling about several errors everytime i open a new window in mozilla.The errors are the following:
    "error on adding toolbar element:NS_error Unexected, component returned failure code:0x8000fff (NS_Error_Unexpected)...id:places-New Place
    or:id:Plus-Circles
    or:id:Plus-Profile
    or:id:Wallet
    or:id:Web fonts
    error on adding menu element:NS_Error_Unexpected, component returned failure code:0x8000fff(NS_Error_unexpected) id:Places-New Place
    id:Plus-Circles
    id:Plus-Profile
    id:Wallet
    id:Web fonts
    id:"
    The problem now is that despite the errors appears all the time i open firefox, the good thing is that the plus signal now appears and i can open a new page in a new tab but that page opens at the same time in a new window!!! I mean the page appears in a new tab and in a new window and the errors are appearing all the time i open mozilla!What can i do to get rid of this???

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • "The network connection could not be made" error

    Hi,
    Last night I uploaded my first podcast to iTunes and now, when I try to download it, it says "The network connection could not be made" - is this because iTunes haven't approved it yet? Or could this be an error on my part, e.g. RSS error?
    Thanks!

    Anyone? It's still not approved/working =/.

  • Jsp: Error on page, ; expected.

    Why am i getting this error?
    I have a line in a function in my jsp page as follows:
    for (int i=0; i<list.size(); i++) {
    In mozilla, the error console says:
    missing ; after for-loop initializer, and has an arrow pointing to after the first i.
    Any help?

    Java executes on the server. It will execute and the outcome is typically some form of content or html. If you are referring to an error you see in the Mozilla browser Error Tab, then you are seeing a problem with the client code, like html or Javascript. A reference to a semi-colon that appears in the Error tab of the browser must be referring to Javascript which executes on the client in the browser.

  • Are the forum RSS feeds broken again?

    W3C validator says the RSS feed - for example for this forum - 'does not validate'.
    Thunderbird also complains that the feed is invalid.
    Jonathan.

    The feed looks okay to me in a web browser, but I'm not using an actual reader or trying to do any validation on it.
    There have been a few reports of this in the past though:
    http://social.technet.microsoft.com/Forums/en-US/bf143a6c-12bd-41b4-b821-22f101896efa/rss-feeds-offline?forum=reportabug
    http://social.technet.microsoft.com/Forums/en-US/bb6a18e8-76bb-45d8-85e8-d923485c457a/rss-error-feeds-with-dtds-are-not-supported?forum=reportabug
    http://social.technet.microsoft.com/Forums/en-US/24276c7b-1e38-4f28-ad76-af3d32d0ad59/rss-feed-for-itsg-is-gone?forum=reportabug
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How to fix error message #6034.

    error message is Microsoft Visual C++Runtime Library Program c:\(x86)...Mozilla
    This error message appears every time I start Firefox.

    Can you start Firefox in <u>[[Safe Mode|Safe Mode]]</u> by holding down the Shift/Options key?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Also check for issues caused by plugins.
    *https://support.mozilla.org/kb/Troubleshooting+plugins

  • Libstdc++.so.6 mozilla won't start w/out it

    Hey, i've never had this problem befre but i recently reformatted, and now i did pacman -S mozilla and when I try to start mozilla i get
    /opt/mozilla/lib/mozilla-1.7/mozilla-bin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    Ok fine, but why am i just now getting this, i havn't gotten it any other time. and when i try to pacman -S libstdc++ it comes up with nothing.

    thank you, i figured it would come in another packet, just hadn't updated my gcc yet.

  • Cant open mozilla web browser

    Hi,
    Everytime I try to open mozilla an error message comes up with no cd and it comes with options try again cancel or continue. The only way i can open mozilla is by highlighting it and holding enter whilest watching task manager to see if its process starts up. I have tried uninstalling and reinstalling the program. I have disabled all add ons and I have tried using the admin account and still no luck. Also used safe mode with networkig to try and open it normally. I have checked several times to detect any viruses or marlware aswell. Not sure what to do?
    Ash

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Abrir mozilla las pestañas desaparecienron

    cerre el mozilla por error, pero al iniciarlo nuevamente todo el grupo de pestañas desapareció, trate de utilizar el sessionrestore.js pero no funcionó, queria saber si hay una posiblididad de poderlo solucionar, este problea pues como les digo tenia las pestañas agrupadas por grupos (serian unas 300 pestañas)

    ''erikovick [[#answer-714505|said]]''
    <blockquote>
    ''lomejordejr [[#answer-714499|said]]''
    <blockquote>
    Con respecto al sessionrestore.js intentaste abrir con un editor de texto para ver su contenido? o el recovery.js, recovery.bak?
    Me baso en esto: http://www.ghacks.net/2013/06/03/how-to-restore-firefox-sessions-if-session-restore-is-not-working-correctly/
    </blockquote>
    si utilice el notepad++ y nada me mando a una sesión nueva ahora que miro pues ya no me ayudaría pues las fechas me salen de hoy así que se perdió la info, supongo, que me tocara meterme al historial y verpestaña por pestaña (como 1000, desde noviembre 2014) y depurar a una, almenso que haya una manera mas eficaz pues si abro todas las pestañas de golpe el mozilla se me va a colgar
    </blockquote>
    tengo uan carpeta que se llama backuop. sesión no se si mer servirá esa

Maybe you are looking for