From 79086011f8a713d1a09a8a3fe5456685d386b8b5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Mar 2020 17:31:44 +0100 Subject: [PATCH] Work on RSS export of blog posts --- htdocs/core/lib/website.lib.php | 35 +++--- htdocs/core/lib/website2.lib.php | 18 +++ .../samples/{wrapper.html => wrapper.php} | 111 +++++++++++++++++- 3 files changed, 142 insertions(+), 22 deletions(-) rename htdocs/website/samples/{wrapper.html => wrapper.php} (57%) diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index 08453c6bcb8..58f2be24da9 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -664,25 +664,25 @@ function getSocialNetworkSharingLinks() $fullurl = $website->alias.'/'.$websitepage->pageurl.'.php'; $hashtags = trim(join(' #', array_map('trim', explode(',', $websitepage->keywords)))); - print ''."\n"; - print '
'."\n"; + $out = ''."\n"; + $out.= '