#15110 closed defect (bug) (fixed)
Useless MIME type served for rss feeds
| Reported by: | singpolyma | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Feeds | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Both /feed/, /feed/rss2/, and /feed/rss/ are served using the very undescriptive and generally useless "text/xml" MIME type. ATOM and RDF feeds are served with their proper MIME types. It looks like the MIME types for RSS are in feed.php, but for some reason there is a special "rss-http" type that returns the useless type? Changing the first line in feed-rss.php and feed-rss2.php to use the rss and rss2 type instead of rss-http fixed it on my site.
Attachments (2)
Change History (18)
#4
@
14 years ago
- Keywords has-patch, dev-feedback → has-patch dev-feedback
Can we get this added to the queue for 3.5 please?
#6
@
14 years ago
Need to check if the wp-testers report and ticket:9810:5 still apply.
#7
@
12 years ago
- Keywords dev-feedback removed
Refreshed patch and added the rss2 header to the comments rss2 feed
#11
@
12 years ago
The patch essentially reverts [11334] and [11358].
Still need to make sure this does not reintroduce any issues mentioned in #9810 or in the wp-testers report.
#12
@
12 years ago
This works for the couple of people on a Mac who've helped test it for me at LoopConf.
Apple actually serves their own feeds using application/rss+xml http://ax.itunes.apple.com/WebObjects/MZStore.woa/wpa/MRSS/justadded/limit=10/rss.xml
The previously mentioned download behavior in FireFox was actually a bug they fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=256379
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch I've used to fix this