Coder Social home page Coder Social logo

planet.scheme.org's People

Contributors

amirouche avatar arthurgleckler avatar lassik avatar wasamasa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wasamasa

planet.scheme.org's Issues

Mojibake for some Idiomdrottning posts

The Atom feed contains a lot of posts from https://idiomdrottning.org/blog/programs, some of which are rendered incorrectly. My observations so far:

  • Only UTF-8 characters such as typographic quotes and emoji are affected
  • Not every post using these characters is affected. For example the "zshbrev" post renders fine, but "Romancing Sisyphus’ Stone" doesn't.
  • The source posts on the original blog look fine, so it's unclear at which step the conversion issues happen and why

I've tried to reproduce the issue by setting up planet/venus with the configuration files of this repository and failed to reproduce the issue. The generated Atom feed isn't affected for some weird reason. Much appreciated if you could help me pinpoint what configuration leads to this.

FROM debian:10

RUN apt-get -y update
RUN apt-get -y install python2.7 curl xsltproc

RUN cd /root && curl -LO https://intertwingly.net/code/venus.tgz && tar -xf venus.tgz
RUN cd /root/venus && curl -LO https://raw.githubusercontent.com/schemeorg/planet.scheme.org/master/planet/planet.ini
RUN mkdir /root/venus/templates
RUN cd /root/venus/templates && curl -LO https://raw.githubusercontent.com/schemeorg/planet.scheme.org/master/planet/templates/atom.xml.xslt
RUN cd /root/venus/templates && curl -LO https://raw.githubusercontent.com/schemeorg/planet.scheme.org/master/planet/templates/index.html.tmpl
RUN cd /root/venus/templates && curl -LO https://raw.githubusercontent.com/schemeorg/planet.scheme.org/master/planet/templates/rss20.xml.tmpl

RUN cd /root/venus && python2.7 planet.py planet.ini
CMD ["/usr/bin/env", "-C", "/root/venus", "python2.7", "-m", "SimpleHTTPServer"]

Repro:

vim Dockerfile
docker build -t planetscheme:debian10 .
docker run -p 8000:8000 -it planetscheme:debian10
# Run in another terminal
xdg-open http://localhost:8000/output/atom.xml

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.