Notifications
Clear all

Meta Tags for SEO

17 Posts
2 Users
0 Likes
1,858 Views
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

Meta Variables...Is there an easy way to make it read from the XML Data Stored when available?  It seems everything is Depending on File name conventions. Something I am working towards, but as a windows user we usually let the tools name the file to prevent overriding duplicates. 

I came from another application where the Title And Descriptions were Stored Separately so it can generate the Information in the meta tag for google to see.

 

 
Posted : 17/06/2020 2:39 pm
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

If not, I will take look at the image generation code and see if that information is available when the headers are called.

 
Posted : 17/06/2020 2:40 pm
TinyWebGallery
(@admin)
Posts: 880
Prominent Member Admin
 

Tags have nothing to to with the seo generation. 

The title of the image is used. This can be the file name but also one you enter which is stored as xml. 

You can set the 

$browser_title_prefix="what you like";

the the image name. 

What is possible is to extract data from the image and use them as title. 

See: http://www.tinywebgallery.com/en/faq.php#h51

if this is not what you want - edit inc/head.inc.php

Best Regards, Michael

 
Posted : 17/06/2020 6:23 pm
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 
Posted by: @admin

Tags have nothing to to with the seo generation. 

The title of the image is used. This can be the file name but also one you enter which is stored as xml. 

You can set the 

$browser_title_prefix="what you like";

the the image name. 

What is possible is to extract data from the image and use them as title. 

See: http://www.tinywebgallery.com/en/faq.php#h51

if this is not what you want - edit inc/head.inc.php

Best Regards, Michael

I'm resulting to that...unless there is an include DIR you execute to keep it outside of updates (Disabled for now).

I have modified the head.inc.php. trying to figure how to implement the meta tags for social network sharing.

 

 
Posted : 19/06/2020 9:52 pm
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

Beyond Moding...I think I got it meta twitter/og tags

https://twitter.com/themightydrake/status/1274108408019312642

 

Guide helped.

https://neilpatel.com/blog/open-graph-meta-tags/

 

 
Posted : 20/06/2020 12:37 am
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

I need to move the changes to a proper include file, so they are not overridden by an update...

 

 

 
Posted : 20/06/2020 12:45 am
TinyWebGallery
(@admin)
Posts: 880
Prominent Member Admin
 

If you think your changes makes sense to everyone please send it to me. I will add them to the next build.

I'm happy to include improvements.

Best Regards, Michael

 
Posted : 20/06/2020 12:59 am
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

@admin

 

It's kinda messy right now...as I need to probably detect the folder.png for image not only the thumbnail image. Attach is what I modified.

 

 
Posted : 21/06/2020 6:28 am
TinyWebGallery
(@admin)
Posts: 880
Prominent Member Admin
 

So far your changes are focused on adding images and generic information. 
I thought you wanted to add individual text which is not the image title.

Is this the next step?

Best, Michael

 
Posted : 21/06/2020 5:48 pm
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

@admin that may be if I have time...I haven't look at your variable list where the XML Captions are extracted.I spend most of the weekend troubleshooting FFMPEG issues.

 

 

 
Posted : 22/06/2020 11:40 am
TinyWebGallery
(@admin)
Posts: 880
Prominent Member Admin
 

FFMPEG ... I can tell you stories about this.. Not easy to find a config which should work for anyone...

Cheers, 

Michael

 
Posted : 26/06/2020 12:16 am
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

@admin The issue was posted on anther thread. Once I understand the problem It was resolved.

 

 
Posted : 28/06/2020 1:43 am
TinyWebGallery
(@admin)
Posts: 880
Prominent Member Admin
 

?

 
Posted : 28/06/2020 11:28 am
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

@admin Fixed it, now the description shows correctly on twitter. 

I still don't know what the head.inc.php has access to....

This post was modified 4 years ago by Drake Dragon
 
Posted : 29/06/2020 1:53 pm
Drake Dragon
(@tmdrake)
Posts: 15
Eminent Member
Topic starter
 

head.inc.php file modded again. I wish there was an API doc. Then again, I do not know how to code PHP....well professionally.

 

This post was modified 4 years ago by Drake Dragon
 
Posted : 29/06/2020 1:57 pm
Page 1 / 2