RSS broken #33

Closed
waninlezu opened this Issue Mar 13, 2012 · 2 comments

Projects

None yet

3 participants

@waninlezu

http://wtfjs.com/rss

This page contains the following errors:

error on line 19 at column 14: Opening and ending tag mismatch: code line 0 and p
Below is a rendering of the page up to the first error.

@DTrejo
Collaborator
DTrejo commented Jul 26, 2012

pull requests happily accepted :)

@DTrejo DTrejo referenced this issue Aug 10, 2012
Closed

RSS is broken #23

@andywillis

I can't test this or run a pull request at the moment but it looks like this issue is still outstanding and focussed on the setting of the rss header in server.js. I think if you replace res.headers['Content-Type'] = 'text/xml; charset=utf-8' with res.header("Content-Type", "text/xml; charset=utf-8"); it might work.

@DTrejo DTrejo added a commit that closed this issue Feb 22, 2013
@fmarier fmarier Fix RSS feed (fixes #33)
The header-setting code needs to change to work with newer versions
of Express.

I'm not sure why the creation date in the article-processing code
ever worked because "new Date()" returns an object, not a string.

Close #44.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
6f1726b
@DTrejo DTrejo closed this in 6f1726b Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment