Gnus development mailing list
 help / color / mirror / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: ding@gnus.org
Subject: Re: Reddit Backend Message Ids
Date: Thu, 15 Feb 2018 17:25:41 +0100	[thread overview]
Message-ID: <871shmw77e.fsf@mail.de> (raw)
In-Reply-To: <whyig7erf9xsp.fsf@hrizvi-wsm4.internal.salesforce.com>

Here is a bit refined version:

(subreddit
	       (string-remove-prefix
		"nnreddit:"
		gnus-newsgroup-name))

and:


(format "Score: %d\n" score)
               ""))
	   (format "\n<a href=https://reddit.com/r/%s/comments/%s>open in browser</a><br/> "
				    subreddit
				    (plist-get data :id))
           "\n"

But its hard, to get further:
1. not a reddit expert (of its api and anyting)
2. no gnus expert (its api)
3. don't understand the code of the backend very well

Therefor I hoped to find somebody here that can help me. Where are the
gnus developers hiding? Irc?



Haider Rizvi <harizvi@gmail.com> writes:

> Stefan Huchler <stefan.huchler@mail.de> writes:
>
>
>> I try to make the mmreddit backend of gnus better, I want to make it
>> possible that gnus can track the viewed messaged so that I can see what
>> is new and where new posts and comments are:
>>
>> https://github.com/paul-issartel/nnreddit/issues/6
>
> Stefan, thanks for posting about nnreddit. It was on my todo list to
> try out, your msg nudged me to do it. Looks promising on first view.
>
> Unfortunately can't help you with the Gnus code. But, a question for you. 
>
> Have you already got some code to jump to the Reddit thread in a
> browser. Since the Message-id has the Reddit id, it can be built
> reasonably easily. If you have something please share.
>
> Regards, 




  parent reply	other threads:[~2018-02-15 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13 23:08 Stefan Huchler
2018-02-14  4:58 ` Jeffrey DeLeo
2018-02-14 11:07   ` Stefan Huchler
2018-02-14 19:27 ` Haider Rizvi
2018-02-15 15:42   ` Stefan Huchler
2018-02-15 16:25   ` Stefan Huchler [this message]
2018-02-24  3:50   ` Stefan Huchler
2018-04-12 19:44     ` Haider Rizvi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871shmw77e.fsf@mail.de \
    --to=stefan.huchler@mail.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).