Make common syndication parser accept all supported encodings
tobiassjosten - October 13, 2009 - 19:32
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code parser_common |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
By telling cURL to accept all the encodings it supports, we can make FeedAPI's Common syndication parser also read feeds that are, for example, gzipped. I recently had need for that and this minor patch is a result of getting it to work for my gz feeds.
For more information, see http://www.php.net/manual/en/function.curl-setopt.php.
| Attachment | Size |
|---|---|
| feedapi-parser-common-accept-all-encodings.patch | 889 bytes |

#1
I love that such a small patch is enough to support compressed feeds :)
#2
Committed. Thank you!
#3
Great. We should port this to feeds, I added a case for it: #619838: http_request.inc: support all encodings (e. g. gzipped feeds)
#4
Automatically closed -- issue fixed for 2 weeks with no activity.