example neinp application
use buffer size, fix media enclosures, fix names
add note about mime type detection
prefer enclosures before GUID for media



You can also use your local clone with git send-email.


builds.sr.ht status GoDoc


rssfs is a 9p server serving the contents of rss feeds. it's main purpose is being an example of how to use my neinp go package.


go get go.rbn.im/rssfs


./rssfs [OPTIONS] URL [URL URL ...]
  -addr string
    	listen address (default "localhost:9999")
    	enable debug mode
  -gid string
    	gid name (default "nogroup")
  -uid string
    	uid name (default "nobody")


$ ./rssfs https://www.kernel.org
$ mount -t9p -o port=9999,noextend /mnt/tmp
$ tree /mnt/tmp/ | head -14
└── The Linux Kernel Archives
	├── About Linux Kernel
	│   ├── content
	│   ├── description
	│   ├── guid
	│   ├── link
	│   └── title
	├── Active kernel releases
	│   ├── content
	│   ├── description
	│   ├── guid
	│   ├── link
	│   └── title
$ cat /mnt/tmp/The\ Linux\ Kernel\ Archives/About\ Linux\ Kernel/description | head
<div class="section" id="what-is-linux">
<h2>What is Linux?</h2>
<p>Linux is a clone of the operating system Unix, written from scratch by
Linus Torvalds with assistance from a loosely-knit team of hackers
across the Net. It aims towards POSIX and <a class="reference external" href="http://www.unix.org/">Single UNIX Specification</a>
<p>It has all the features you would expect in a modern fully-fledged Unix,
including true multitasking, virtual memory, shared libraries, demand
loading, shared copy-on-write executables, proper memory management, and
multistack networking including IPv4 and IPv6.</p>


Gos mime package loads mime definitions on the fly from /etc/mime.types, /etc/apache2/mime.types or /etc/apache/mime.types. at least slackware installs apaches config dir to /etc/httpd so in order to have the magic working, you need to ln -s /etc/httpd/mime.types /etc/mime.types.