New extension UrlGet

Simon <[email protected]> Thu, 9 Apr 2026 07:10:43 +1200
Newsgroups gmane.comp.web.wiki.pmwiki.user,gmane.spam.detected
Message-ID <CAFUSNWMGoat8Vc88SbhVn6v3wd1qFvtpmbctd0TP9gp39fR3Ag@mail.gmail.com>
This is a multi-part message in MIME format.

------------=_69D6A88C.2BC9C28D
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "ciao.gmane.io",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  UrlGet - Cookbook - PmWiki <https://www.pmwiki.org/wiki/Cookbook/UrlGet>
   Questions answered by this extension <https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc>
   I want to use the built in RecipeCheck <https://www.pmwiki.org/wiki/Cookbook/RecipeCheck>
   or Blocklist <https://www.pmwiki.org/wiki/PmWiki/Blocklist> recipes. 

Content analysis details:   (5.8 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
                            blocked.  See
                            http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                             for more information.
                            [URIs: php.net]
 0.0 DKIM_ADSP_CUSTOM_MED   No valid author signature, adsp_override is
                             CUSTOM_MED
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                            headers
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                            provider (nzskiwi[at]gmail.com)
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                            mail domains are different
 0.0 HTML_MESSAGE           BODY: HTML included in message
 1.2 HTML_OBFUSCATE_10_20   BODY: Message is 10% to 20% HTML
                            obfuscation
 1.7 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)
 2.4 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
                            [cf: 100]
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
                            valid
 0.1 URIBL_SBL_A            Contains URL's A record listed in the Spamhaus SBL
                            blocklist
                            [URIs: pmichaud.com]
 0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid
-1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                            manager
 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                            EnvelopeFrom freemail headers are
                            different

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.


------------=_69D6A88C.2BC9C28D
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

Return-path: <[email protected]>
Envelope-to: [email protected]
Received: from hwsrv-233708.hostwindsdns.com ([23.254.203.248])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1wAYJq-0006xX-0C
	for [email protected]; Wed, 08 Apr 2026 21:12:06 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=pmichaud.com; s=default; h=Sender:Content-Type:List-Subscribe:List-Help:
	List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:To:Message-ID:Date:
	From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Owner;
	bh=Ql7U5FBsUOEn8whN7IoaGbb6rmydpDsiLLa+TaAf7uk=; b=Fbvo9RDJoTLfd/6TT4AC5aaFDK
	3ai+BkYrc60GQUv8ZemAqv9rLNzRz9uWP6CdrIWcqxwaTqDTzF/uoPGfXYc9+OjiRGux36E1KY1Eu
	UsbOPuNAiSXEEEEfGp5/8CQ51WuiorAn7rMqKDidulttMUNkCr7g89OK07zzhfGeAqYoYTmKUsPJ9
	Cf5g3lQZrpR7YLH6AOkHGsYzSOCliCnfJrGwcB1KXcNvuC+/bzNvD1fo7ms67CmEAdywY4QcZOy3J
	AuuZ/YhQhq4X0gIa01DN6Y+AzkFmx9x3izeZIWbLpX7MJpJf1WOYJnXPahG7Lt9M5SckjTEEm+f9a
	nd/rHk/Q==;
Received: from [::1] (port=48452 helo=hwsrv-233708.hostwindsdns.com)
	by hwsrv-233708.hostwindsdns.com with esmtp (Exim 4.99.1)
	(envelope-from <[email protected]>)
	id 1wAYJo-000000007WI-0lRT;
	Wed, 08 Apr 2026 12:12:03 -0700
Received: from mail-vk1-f174.google.com ([209.85.221.174]:58398)
 by hwsrv-233708.hostwindsdns.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.99.1)
 (envelope-from <[email protected]>) id 1wAYJl-000000007Ut-0Dxx
 for [email protected]; Wed, 08 Apr 2026 12:12:00 -0700
Received: by mail-vk1-f174.google.com with SMTP id
 71dfb90a1353d-5673804da95so25021e0c.0
 for <[email protected]>; Wed, 08 Apr 2026 12:11:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1775675479; cv=none;
 d=google.com; s=arc-20240605;
 b=D/KpPeb4Mntd9mOu3qZb9v0/396PxC14vUAoZOkH2zAR23k8xHuFlBD8sMWOaSBRnL
 Juyk75D95tvgjEuoXxjyZgKwravExrQFrGYkSxPdVHJnDim07gJ3K5Nr+JL0PVI/Nrok
 XpvOOW8zXn9XlkGL0iW6hCWYx/TM4fEpbL3Y+aBQcfsFDwe1hHhyFb96884gXM92S8m+
 tgwx3mX1skT6jtdKeI7dV9pBNCrzkTzhJHtFih//+f5999xM0Krno3Ss23o5t1YDY05i
 gsamR65fndsQA9beqyHZtw9nrBqBrAMMmS/aBidV2Nn5S5YXDF8mWtr6tPm/lca+LcWT
 lh2g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=to:subject:message-id:date:from:mime-version:dkim-signature;
 bh=+CDNaDqXHnV5a8DwEmdvWib3zjbynRoY19TK/TlXBlM=;
 fh=x++CKhRsPILo2c/FZyQUCSMh1I2Y9uFERSDlfPN+qOw=;
 b=YNsKMF+ZxbW8qUO6A1qZNfzRzyv+Ra4jxztkAxLpLZJlwfGIfjUADs83mKtpu7seJ4
 Cg8LJuXmS09cq226ZDZBfUHbSXVgmwfNMBm61XmgqU6nLCn5m+Ud88BWrrowmdwS9k5k
 5m+K7q78QUBwM4qCf07aILlAEsenKoEl1NJ/+fVC6O42HWyYtflPXs07VP1rejQqxIt9
 ZB6P8ZE7r+JeQuXUNKJ1lPpOoDtszh5iY1yRXMjNbV0RjxuVr07TtWHZSWyScNaiMIKv
 J8wzpAa5rHmZnyvbAfXK2M0xqsdT2J0GF4O9HoC/yypGKir4Wtvp0YC5e/NKfMLrr1F9
 5u5g==; darn=pmichaud.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1775675479; x=1776280279; darn=pmichaud.com;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=+CDNaDqXHnV5a8DwEmdvWib3zjbynRoY19TK/TlXBlM=;
 b=pAqtv1z2jP0FWnHYgf0pOZlIK7pnKPoTZeMqocplkcMoe4+wgH1qXAvdmTdV9CasYP
 JKon7EAwkaDzV4P+o/5kWEvJbFdBcx9c7h4bfx11HsYit6kTbQwcxoX2BHXAIgXqoCbU
 h/Geo8DIAPsdZcbldBzPcG+rF9PujDZ/qcCjRY0uFkRqZmtebZX8pJ8QowEJ1X226qsR
 Q0g585ekohovN6waFa+D4zDmpzhDcLT3YLd+PUycH6oIKoy/GuIgTZS120zxu48JqkP0
 V5J3dqeCv4ucR1WBgkuzFMntdYlGEpHp2rBZM3Sd44R/QLcUVQ8Xdc2ACR/BqhkPN7ld
 8KJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1775675479; x=1776280279;
 h=to:subject:message-id:date:from:mime-version:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=+CDNaDqXHnV5a8DwEmdvWib3zjbynRoY19TK/TlXBlM=;
 b=BN2JUXOy+J1ys/Ou/4Oo6PHtZebXbwIj6zUrXQ6dDpMtzXG7v0GlXeuQGt4dJqbjLb
 g/vxa9VmtvixFE/Vg7hs3voMSOlvyelQmwBOWCXfYQgdIGsw1ybbOuJAAsuGNs9VkWQQ
 f6q0L457DgTMZgswaPj37DML8MX5Y8dZMax7+aokGVswX+JGcxzFOXwrLJxNCDwgHj+B
 G3a5yKlZwbaplU3WskqKsUu4KwxFZqbIP7CmFfa0Ok97x/g0KLOwlNQfwH7+2uubbzTw
 X8+w2vBNUZGQeO8+iooEDM3MRlYdYzTJfrM+1xUgaRxRp2f9zxJY+ZDYu6IKXxPw+xsw
 y36g==
X-Gm-Message-State: AOJu0YwFmDwhyiqA/LUMKaAWqOi4NFEaKQ7PXLk8n+e/uOPR49+UYXDn
 kfQ+HBAH9/VUAimgb2SBEugkOun6ziN5idW0jjAVtu5OuCONuJOs4/Zwa7hvD92GdVB7GHh27B/
 sQlildtOX4tVaxSt0xhwUK3KaIV/cByJ458NN
X-Gm-Gg: AeBDieuRxSdyYOPJhVjyQSUDbOM1TuCN8DhUCpIKAh1pKDIgH2/MMo42hg/BTo30GaU
 RrfQBJBQQVHnPUeZ8N9pYugG4+qkswJvCXE2CeO7e6IbDoFMxlmHMYhro4/hXJc5hNJix6BUN5t
 e5yvOwEr7cNZX03dUaqhFzjkCsT7fsocFVLToZ/8Qol1phiSSWIB9M+RyFcILIuhowbPaa9ii9Z
 PRUlDhtDTN8B7SatUCHOorL0oa5Atvpw1gcSfMyxJVJHR9dI1oybMDTYgmwd9XJyc8zHOjiWDAH
 nmaftA==
X-Received: by 2002:a67:e113:0:b0:605:6f36:43de with SMTP id
 ada2fe7eead31-605a4dcf1bfmr7505855137.3.1775675479267; Wed, 08 Apr 2026
 12:11:19 -0700 (PDT)
MIME-Version: 1.0
From: Simon <[email protected]>
Date: Thu, 9 Apr 2026 07:10:43 +1200
X-Gm-Features: AQROBzDAqFNVq_efUKO0BOflahI8wguMpjZ7GNVvt-M_ml6AT407boFSCMDpXAk
Message-ID: <CAFUSNWMGoat8Vc88SbhVn6v3wd1qFvtpmbctd0TP9gp39fR3Ag@mail.gmail.com>
To: PMWiki <[email protected]>
Subject: [pmwiki-users] New extension UrlGet
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: <pmwiki-users.pmichaud.com>
List-Unsubscribe: <http://www.pmichaud.com/mailman/options/pmwiki-users>,
 <mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://www.pmichaud.com/pipermail/pmwiki-users/>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://www.pmichaud.com/mailman/listinfo/pmwiki-users>,
 <mailto:[email protected]?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8654180768096028268=="
Errors-To: [email protected]
Sender: "pmwiki-users" <[email protected]>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - hwsrv-233708.hostwindsdns.com
X-AntiAbuse: Original Domain - m.gmane-mx.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - pmichaud.com
X-Get-Message-Sender-Via: hwsrv-233708.hostwindsdns.com: acl_c_authenticated_local_user: mailman/mailman
X-Authenticated-Sender: hwsrv-233708.hostwindsdns.com: [email protected]
X-Source: 
X-Source-Args: 
X-Source-Dir: 

--===============8654180768096028268==
Content-Type: multipart/alternative; boundary="0000000000002d9ce0064ef7aa0e"

--0000000000002d9ce0064ef7aa0e
Content-Type: text/plain; charset="UTF-8"

UrlGet - Cookbook - PmWiki <https://www.pmwiki.org/wiki/Cookbook/UrlGet>


Questions answered by this extension
<https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc>

I want to use the built in RecipeCheck
<https://www.pmwiki.org/wiki/Cookbook/RecipeCheck> or Blocklist
<https://www.pmwiki.org/wiki/PmWiki/Blocklist> recipes.

   - how do I do this if "allow_url_fopen"
   <https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen>
is
   disabled by my webhost?
   - how do I do this in preference to "file_get_contents"
   <https://www.php.net/file_get_contents> used internally by PmWiki?

Description <https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc>

This extension provides a function UrlGet which uses cURL to retrieve the
contents of the URL.
The global variable $UrlGetFunction is set to UrlGet using the PmWiki
function SDV if it is not already set.

--0000000000002d9ce0064ef7aa0e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><a href=3D"https://www.pmwiki.org/wiki/Cookbook/UrlGet">Ur=
lGet - Cookbook - PmWiki</a><div><br></div><div><br></div><div><h2 id=3D"gm=
ail-toc-1" style=3D"margin-top:15px;margin-bottom:9px;font-weight:normal;fo=
nt-size:22px;color:rgb(0,0,0)">Questions answered by this extension<a href=
=3D"https://www.pmwiki.org/wiki/Cookbook/UrlGet#_toc" class=3D"gmail-back-a=
rrow" title=3D"Contents" style=3D"text-decoration-line:none;font-size:1rem;=
vertical-align:top"></a></h2><p style=3D"margin-top:0px;margin-bottom:0px;c=
olor:rgb(0,0,0);font-size:15px">I want to use the built in=C2=A0<a class=3D=
"gmail-wikilink" href=3D"https://www.pmwiki.org/wiki/Cookbook/RecipeCheck">=
RecipeCheck</a>=C2=A0or=C2=A0<a class=3D"gmail-wikilink" href=3D"https://ww=
w.pmwiki.org/wiki/PmWiki/Blocklist">Blocklist</a>=C2=A0recipes.</p><ul styl=
e=3D"margin:0px;color:rgb(0,0,0);font-size:15px"><li>how do I do this if=C2=
=A0<a class=3D"gmail-urllink" href=3D"https://www.php.net/manual/en/filesys=
tem.configuration.php#ini.allow-url-fopen" rel=3D"nofollow">&quot;<code sty=
le=3D"font-size:0.93333em">allow_url_fopen</code>&quot;</a>=C2=A0is disable=
d by my webhost?</li><li>how do I do this in preference to=C2=A0<a class=3D=
"gmail-urllink" href=3D"https://www.php.net/file_get_contents" rel=3D"nofol=
low">&quot;<code style=3D"font-size:0.93333em">file_get_contents</code>&quo=
t;</a>=C2=A0used internally by PmWiki?</li></ul><div class=3D"gmail-vspace"=
 style=3D"margin-top:20px;color:rgb(0,0,0);font-size:15px"></div><h2 id=3D"=
gmail-desc" style=3D"margin-top:15px;margin-bottom:9px;font-weight:normal;f=
ont-size:22px;color:rgb(0,0,0)">Description<a href=3D"https://www.pmwiki.or=
g/wiki/Cookbook/UrlGet#_toc" class=3D"gmail-back-arrow" title=3D"Contents" =
style=3D"text-decoration-line:none;font-size:1rem;vertical-align:top"></a><=
/h2><p style=3D"margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size=
:15px">This extension provides a function=C2=A0<code style=3D"font-size:0.9=
3333em">UrlGet</code>=C2=A0which uses=C2=A0<code style=3D"font-size:0.93333=
em">cURL</code>=C2=A0to retrieve the contents of the URL.<br class=3D"gmail=
-clearboth" style=3D"clear:both">The global variable=C2=A0<code class=3D"gm=
ail-varlink gmail-hljs-variable" style=3D"font-size:0.93333em;color:rgb(255=
,68,0)">$UrlGetFunction</code>=C2=A0is set to=C2=A0<code style=3D"font-size=
:0.93333em">UrlGet</code>=C2=A0using the PmWiki function=C2=A0<code style=
=3D"font-size:0.93333em">SDV</code>=C2=A0if it is not already set.</p></div=
></div>

--0000000000002d9ce0064ef7aa0e--


--===============8654180768096028268==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

--===============8654180768096028268==--



------------=_69D6A88C.2BC9C28D--