Giter Club home page Giter Club logo

swtch's Introduction

This repo holds the web server apps that run swtch.com, 9fans.net, and rsc.io.

Feel free to poke around and fork.

swtch's People

Contributors

rsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swtch's Issues

Broken webpage: swtch.com/tra/ due to XML preamble

Hey @rsc,

I was browsing your site and noticed:

screen shot 2016-05-02 at 8 43 32 am

It appears you're specifying this HTML file as XML:

screen shot 2016-05-02 at 8 44 08 am

I came by to submit a pull request to remove the <?xml version="1.0" encoding="utf-8"?> preamble but it appears the content of your site is in GCS and therefore inaccessible for a pull request. I leave you this issue instead.

Cheers! ๐Ÿป

research.swtch.com/feed.atom is not readable by FreshRSS

Hello @rsc,

TL;DR: I believe your blog's feed is being served with the incorrect Content-Type. It should be application/atom+xml instead of text/plain.

I have followed your blog's feed with Feedly for a while. However, since switching to FreshRSS, I am unable to pull your blog's feed at https://research.swtch.com/feed.atom:

A feed could not be found at `https://research.swtch.com/feed.atom`; 
the status code is `200` and content-type is `text/plain; charset=utf-8` 
[https://research.swtch.com/feed.atom]

I took a look at two validators, both of which (1, 2) indicated that your feed was served with text/plain. FreshRSS uses a library called SimplePie which requires that the content be served with a Content-Type indicating it's an XML file.

Would you be able/willing to serve the /feed.atom file from your blog with a different Content-Type, like application/atom+xml, which would be supported by a wider range of RSS readers? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.