On 29/06/2024 10:06, Ibrahin Khider, developer wrote:
Hello Narcis,
Thanks, that makes sense.
I was thinking there might be a PHP library to facilitate some of
this. There are so many cool PHP libraries that it seems anything is
possible.
The instructor really could have made this project more functional.
-I-
On 6/29/24 3:59 AM, Narcis Garcia wrote:
I think you need to focus in the HTML/XHTML side, because search
engine crawlers don't read PHP but SGML output.
El 29/6/24 a les 5:44, Ibrahin Khider, developer ha escrit:
I took a course on PHP which consisted on a lesson on building a CMS
(blog) from scratch.
While the course is complete, there are gaps. For instance, no
comments section and no field for metatags for entries.
The instructor said the course is about learning PHP, not actually
using what we make. I want to refine the CMS and use it.
I would also like search engine crawlers to correctly index entries.
Am looking at hacks / PHP tools to help correctly identify entries
for web search indexing.
The site itself has metatags, but each entry must also have tags. So
if you have a site about cars, then each entry can be about
particular car, like fiat, jeep, convertible and so on.
Normally, a CMS has a field entry for metatags, but since this is
not covered in the lesson, I wonder if there are tools in PHP to
facilitate...?
One hack is to perhaps embed metatags for each blog / cms entry.
Thoughts?
-I-
Hi Ibrahin,
Without seeing any of the code you have so far, it's not really possible
to suggest anything. We don't know if you're using an existing framework
to build your CMS, or if you're even using something like Composer to
manage packages. Without seeing any code you have created for this, you
might get a lot of suggestions which don't make sense to you, or don't
even work.
Thanks,
Ash
Ashley Sheridan
https://www.ashleysheridan.co.uk