Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    i feed con DTD non sono supportati

    Ho creato un file xml per i feed rss ma quando mi trovo in IE 7, quando premo sull'apposito pulsante dei feed, mi apre una pagina dove c'è scritto: Internet Explorer non supporta feed con DTD.

    Perché? Come posso risolvere?

    Il codice per ora è questo:

    codice:
    <?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0"><channel><title>###</title><link>###</link><description>###</description><language>it</language><copyright>###</copyright><managingEditor>###</managingEditor><webMaster>###</webMaster><category domain="###">News</category><category domain="###">Articoli</category><image><title>###</title><url>###</url><height>62</height><width>143</width><link>###</link></image><generator>FeedSpring - http://feedspring.com/</generator><lastBuildDate>Mon, 16 Apr 2007 13:39:58 GMT</lastBuildDate><docs>http://blogs.law.harvard.edu/tech/rss</docs></channel></rss>
    Il file è stato creato con programma segnalato a fine codice.

  2. #2
    Sul sito Microsoft ho trovato questo paragrafo:

    IE7 supports the following feed formats: RSS 2.0 (0.91 and 0.92 included), Atom 1.0, and RSS 1.0. Section II explains the detection of these feed formats. Once it is detected properly, the feed is passed to the RSS Platform for sanitization and normalization. After this process, the IE feed reading view displays the feed for the user to read.

    Feeds that reference a DTD are not supported by the RSS Platform. A DTD is used to help XML parsers with validation of the document. However, DTD validation is a potential source of security issues for XML parsers, and validation is not required for feeds to work correctly in aggregators. To read more about potential security issues with DTDs, please read this MSDN article.

    To limit the impact that feeds with DTDs can have on a user’s computer, the RSS Platform’s parser rejects all feeds that contain references to DTDs and IE7 displays an error instead of showing the feed reading view. To enable the feed to be supported in the RSS Platform and viewable in IE7, the reference to the DTD needs to be removed.
    Example of a feed with a DTD reference (not supported):

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
    <rss>

    Feed with no DTD reference:

    <?xml version="1.0" encoding="UTF-8"?>
    <rss>

    By removing the DTD reference, the feed can be processed by the RSS Platform and displayed to the user in the feed reading view.


    Ma nel mio codice non c'è qualla stringa, o sbaglio? Come mai il problema si presenta comunque?

  3. #3
    Parlo da solo Comunque, può essere che il problema derivasse dal fatto che nel file xml non c'erano degli item, ovvero dei feed? Perché ne ho aggiunto uno di prova senza cambiare nient'altro e ora funziona.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.