* [PATCH 1/2] wwwlisting: show configured "infourl" properly
2020-01-02 3:09 5% [PATCH 0/2] support multiple "url" and "infourl" values Eric Wong
@ 2020-01-02 3:09 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-01-02 3:09 UTC (permalink / raw)
To: meta
git's config file keys lack underscores, but my mind is wired
for underscores :x. Fix the whitespace around the info URL
while we're at it, so that it shows up right under the inbox
description.
---
lib/PublicInbox/WwwListing.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index 7995b315..1faade6c 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -89,8 +89,8 @@ sub ibx_entry {
* $ts - $url
${\$ibx->description}
- if (defined(my $info_url = $ibx->{info_url})) {
- $tmp .= "\n$info_url";
+ if (defined(my $info_url = $ibx->{infourl})) {
+ $tmp .= ' ' . $info_url . "\n";
}
$tmp;
}
^ permalink raw reply related [relevance 7%]
* [PATCH 0/2] support multiple "url" and "infourl" values
@ 2020-01-02 3:09 5% Eric Wong
2020-01-02 3:09 7% ` [PATCH 1/2] wwwlisting: show configured "infourl" properly Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-01-02 3:09 UTC (permalink / raw)
To: meta
This should make migrating inboxes to new domains easier,
since ICANN has proven they cannot be trusted after the
.org situation.
Eric Wong (2):
wwwlisting: show configured "infourl" properly
config: support multi-value inbox.*.*url
lib/PublicInbox/Config.pm | 7 ++++---
lib/PublicInbox/Hval.pm | 7 +++++++
lib/PublicInbox/Inbox.pm | 2 +-
lib/PublicInbox/WwwListing.pm | 6 +++---
t/config.t | 4 ++--
t/feed.t | 2 +-
t/inbox.t | 4 ++--
t/nntp.t | 2 +-
8 files changed, 21 insertions(+), 13 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-02 3:09 5% [PATCH 0/2] support multiple "url" and "infourl" values Eric Wong
2020-01-02 3:09 7% ` [PATCH 1/2] wwwlisting: show configured "infourl" properly Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).