Article View: rocksolid.nodes
Article #287Re: hey, what do know ? vichan supports nntp
From: anonymous
Date: Fri, 22 May 2020 19:24
Date: Fri, 22 May 2020 19:24
57 lines
2742 bytes
2742 bytes
ok, that was easy, i took message_read and put all articles into something like this:
{
"header": {
"number": 100,
"id": "<96042908114f73b92a4b25ecaf31371d@def4>",
"from": "anon@anon.com",
"name": "anon",
"subject": "Re: sync trest def2",
"newsgroups": "rocksolid.shared.test",
"followup": null,
"date": 1589462807,
"date_thread": null,
"organization": "def5",
"xnoarchive": null,
"references": [
"<46f0e0c1993dc510ec8653ac72cb4445$1@z5bqfv5v75kxy7pj.onion>"
],
"bestreference": null,
"content_transfer_encoding": "8bit",
"mime_version": null,
"content_type": [
"text/plain"
],
"content_type_charset": [
"utf-8"
],
"content_type_name": [
"unnamed"
],
"content_type_boundary": null,
"content_type_format": [
"flowed"
],
"answers": null,
"isAnswer": false,
"username": "anon",
"user_agent": null,
"isReply": null,
"threadsize": null
},
"body": [
"nok, seen on def4nnPosted on def4n"
]
}
that is the json encoded array that you get when you typecaste the object that message_read returns.
now i only read this into my import routine from vichan.
right now i work on a batch import function, and try to wrap my head around some of the details of vichan (which is harder for me than it probably sounds). :-)
cheers
trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion
Technical Details
Message-ID:
<dfc3ccdd0ba2d83aa3febd427357defd$1@z5bqfv5v75kxy7pj.onion>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mailReferences:
<56148a22de20564af15e4ee0c7a2536e$1@news.novabbs.com> <c4b1c865ef480a6f4d9459af1391a116@def4> <4a2c95c3090fd2779b68fe50d43b2854$1@news.novabbs.com> <1b2bbbcb354ea383343edde8d8bdffe3$1@z5bqfv5v75kxy7pj.onion>Show Full Headers
Complete Article Headers
Message-ID: <dfc3ccdd0ba2d83aa3febd427357defd$1@z5bqfv5v75kxy7pj.onion> Subject: Re: hey, what do know ? vichan supports nntp Date: Fri, 22 May 2020 19:24:00 +0000 From: anonymous@anon.com (anonymous) References: <56148a22de20564af15e4ee0c7a2536e$1@news.novabbs.com> <c4b1c865ef480a6f4d9459af1391a116@def4> <4a2c95c3090fd2779b68fe50d43b2854$1@news.novabbs.com> <1b2bbbcb354ea383343edde8d8bdffe3$1@z5bqfv5v75kxy7pj.onion> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail Newsgroups: rocksolid.nodes Organization: def2 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; posting-account="def2"; logging-data="15333"; mail-complaints-to="usenet@i2pn2.org" User-Agent: Rocksolid Light (news.novabbs.com/getrslight) X-Rslight-Site: $2y$10$rGh9eMhRH2jdD62G0wRSWuk5GAW8HG7ZiEGsuwR8sKt3m/9MiPfdm