kensanata / moku-pona Goto Github PK
View Code? Open in Web Editor NEWa Gemini based aggregator for Gopher, Gemini, RSS, and Atom pages and feeds
Home Page: https://alexschroeder.ch/software/Moku_Pona
License: Other
a Gemini based aggregator for Gopher, Gemini, RSS, and Atom pages and feeds
Home Page: https://alexschroeder.ch/software/Moku_Pona
License: Other
Fetching jynx atom...:33: parser error : xmlParseEntityRef: no name
<title># On phlog revisions & the small internet (RE: visiblink)
Hitting this error kills my wholemoku-pona update. I'll ping jynx about the &
which seems to be the issue, but maybe there's a safer way to handle validation errors without moku-pona dying all the way?
moku-pona add bitreich.org:70/0/news.atom.xml "bitreich"
I've tried that command which pulls the feed from gopher://bitreich.org/0/news.atom.xml. When I run moku-pona update
it says it's unchanged, despite having no local cache version. The feed looks good to me.
If TLS Gopher is ever to take off, new tools should allow for it. So now here's the problem: We should attempt a TLS connection to the server and only fall back to normal behavior if this doesn't work (automatic downgrade bad) or we must mark the entries that should use TLS somehow. An extra field in the map? But that will break some clients, I presume.
Recently some phlog listings have begun duplicating when their phlogs update. I'm not 100% sure, but it looks like it's happening on individuals that have multiple phlogs on different servers. Maybe it's because there's more than one shared string in them, or maybe it's because I'm indicating server by adding paranthetical labels (sdf.org) (circumlunar.space).
You can see it here:
gopher://gopher.black/1/moku-pona/
tfurrows and yargo are the curent culprits.
Cannot construct client socket to alexschroeder.ch:70: Network is unreachable
This is killing moku-pona update completely rather than timing-out and continuing onto the next phlog in the list.
I'm using your latest script and it's pulling in RSS feeds properly now. I'm trying to get the publish command to work, but there are two issues.
The links in the updates.txt file to rss feeds is converted to be relative, so that's good.
$ moku-pona remove jynx
Removed 1 subscription
$ moku-pona add gopher://1436.ninja/1/Phlog jynx
$ moku-pona update
Fetching jynx...unchanged
I've narrowed down the issue to the query_gopher function. The socket connects, but when the selector is sent, nothing comes back in the response and the query is skipped. I've tried port 7070 (which he also uses) to no avail. I verified connecting via netcat that sending the /Phlog
selector does return the phlog listing.
(tried leaving this on your other wiki, but the formatting all fell apart)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.