From ca0ca7dfb7b081b54f153e5f635290dd00bc315c Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 1 Jul 2024 14:11:53 +0300 Subject: [PATCH 1/6] fix item getter name --- src/Entity/Listing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Listing.php b/src/Entity/Listing.php index d7b27b0..e77d169 100755 --- a/src/Entity/Listing.php +++ b/src/Entity/Listing.php @@ -32,7 +32,7 @@ class Listing implements \Yggverse\Gemtext\Interface\Entity $this->_item = $item; } - public function Item(): ?string + public function getItem(): ?string { return $this->_item; } From e0b496a7aee23806a653afc58da80bbd625f4eb2 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 02:56:24 +0300 Subject: [PATCH 2/6] fix multiline code expression --- src/Parser/Code.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/Code.php b/src/Parser/Code.php index bd93101..abc83eb 100755 --- a/src/Parser/Code.php +++ b/src/Parser/Code.php @@ -26,7 +26,7 @@ class Code implements \Yggverse\Gemtext\Interface\Parser // Multiline with optional alt support case preg_match( - '/^(?[`]{3})(?[^`]+)$/m', + '/^(?[`]{3})(?[^`]*)$/m', $line, $matches ): From bf52a58fbdadcbe4266f26d7bb8ec748f80c9ffa Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 05:50:45 +0300 Subject: [PATCH 3/6] update readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48d7298..a1ccc7c 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,15 @@ # gemtext-php -PHP 8 library for `text/gemini` +Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) -This library is lightweight, object-oriented [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) replacement to [gemini-php](https://github.com/YGGverse/gemini-php) +## See also + +* [gemini-php](https://github.com/YGGverse/gemini-php) - PHP 8 Client library for Gemini connections + +## Integrations + +* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI batch downloader for Gemini protocol +* [Yoda](https://github.com/YGGverse/Yoda) - PHP-GTK Browser for Gemini protocol ## Install From fec140c2e39951a97913160849c9d73e60ccd3d0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 05:52:05 +0300 Subject: [PATCH 4/6] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1ccc7c..60c8d7f 100755 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # gemtext-php -Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) +Lightweight, object-oriented PHP 8 library for [Gemini](https://geminiprotocol.net) / [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) operations ## See also -* [gemini-php](https://github.com/YGGverse/gemini-php) - PHP 8 Client library for Gemini connections +* [gemini-php](https://github.com/YGGverse/gemini-php) - PHP 8 Client library for Gemini protocol connections ## Integrations From 58f33defaa12d008772630553c3aec09ed2df283 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 05:53:15 +0300 Subject: [PATCH 5/6] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 60c8d7f..853b1fb 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # gemtext-php -Lightweight, object-oriented PHP 8 library for [Gemini](https://geminiprotocol.net) / [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) operations +Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) operations ## See also From 472e588bf3d3f6f43161e5f22a324365ae3f2443 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 05:54:43 +0300 Subject: [PATCH 6/6] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 853b1fb..8ce910d 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # gemtext-php -Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) operations +Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) markup ## See also