TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 12:02:08 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 107
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 106
  • Total: 106

OPTIMUS Mod And TinyPortal

Started by jernatety, June 28, 2019, 12:31:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jernatety

Hi guys, I don't know where else to put this. Please move if necessary  O0

GREAT NEWS!

Optimus is fully functional for posting both SMF topics and TinyPortal Articles on Twitter and Facebook.

Bugo worked several days on this to get it working properly for everybody. I made a donation to thank him for his hard work. This mod helps IMMENSELY with search engine optimization. Without it my site was virtually unknown. Now with the social media optimization it's even better. I strongly encourage anybody who can use this to also make a donation, it's a GREAT mod and I'm so happy it works entirely with TinyPortal now.  :D :D :D

@rjen

Thats good News! Which version of the Optimus MOD are you using Exactly ?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

jernatety

Hi @rjen I'm using 2.2. You don't see any downloads yet because he just added it to the mod site this morning. He sent me the new package directly for testing. After we confirmed everything worked as designed he added it to the mod site for public use.

lurkalot

Just gave it a try on my Guitarist Guild site.  Shared a BBC article, This one, https://guitaristguild.com/index.php?page=amplitube-4

and it picked up the first image just fine, but it seems to be posting the bbcode from the content as well. Was this tested with bbc articles?

lurkalot

And another bbc article, looks like its also picking up and posting the bbcode https://guitaristguild.com/index.php?page=Ampeg-SVX-2

jernatety

Hi Mick, all of my articles are html. I don't use the WYSIWYG editor or BBC at all so unfortunately that wasn't tested.

lurkalot

Thanks,  thought that might be the case.

I did post in the support thread as you've seen, wonder if Bugo can fix it for this scenario, I use BBC articles a lot. 

Apart from that it seems to work ok.  ;)

jernatety

I saw @rjen posted about php articles doing weird stuff. I have no clue how Bugo figures out the OG Meta stuff but it's strange how it works for HTML but not BBCode or PHP. Did you guys try emptying your SMF File cache then do a Shift F5 before trying your links? I try everything in the Facebook developers scraper and Twitter Card validator before I post them.

@rjen

I did the same thing: use the scraper to test and then post. I am sure it is not related to browser cache: the scraper does not use my browser...

It seems that the body text is always interpreted as HTML, even when it is not. I am sure that there is some more work to be done in the Optimus code for that...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Quick action from Bugo! It seems the bbc article issue is fixed! Php article still leaves something to be desired.

I am wondering though if it would not be more appropriate to include an article description field in the articles that could be used when posting to social media.
Now the Optimus mod gets challenged with interpreting different article types... just a thought though...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

jernatety

Quote from: @rjen on June 29, 2019, 09:31:10 AM
Quick action from Bugo! It seems the bbc article issue is fixed! Php article still leaves something to be desired.

I am wondering though if it would not be more appropriate to include an article description field in the articles that could be used when posting to social media.
Now the Optimus mod gets challenged with interpreting different article types... just a thought though...

I format my HTML articles like this, (top down):

Article Subject = Social media title
Quick Blurb at the top of my article body = Social media description
Image for my article = Social media image

Then I begin my article detail

Everything shows up perfectly as designed on both Twitter and FB. LOVE IT!

lurkalot

Since Bugo added the fixes for TP in Optimus 2.2.1 The sharing bbc articles now seems to work with facebook, and no longer showing the bbcode which is great.  HTML articles are showing code, not sure if that's just the way my articles are layed out, but it doesn't look right to me.  If I have a adsense code for example at the top of the article it prints part of the code on facebook.

Twitter, well I'm at a loss.  Do you have to set this up in some way to make it scrape the images.  What's all this twitter card stuff, and how do I use it? Much reading up required methinks. Edit: Twitter seems to be picking everything up now, strange, but great..  O0

jernatety

Quote from: lurkalot on June 29, 2019, 10:50:47 AM
Since Bugo added the fixes for TP in Optimus 2.2.1 The sharing bbc articles now seems to work with facebook, and no longer showing the bbcode which is great.  HTML articles are showing code, not sure if that's just the way my articles are layed out, but it doesn't look right to me.  If I have a adsense code for example at the top of the article it prints part of the code on facebook.

Twitter, well I'm at a loss.  Do you have to set this up in some way to make it scrape the images.  What's all this twitter card stuff, and how do I use it? Much reading up required methinks.

Twitter card validator is the same thing as the FB developer tool scraper. This is it, you can test your links before posting https://cards-dev.twitter.com/validator

I don't put any ads into my articles. So I don't see any of that. Here's my newest article.
https://www.youthhockeyinfo.com/index.php?page=12

lurkalot

Quote from: jernatety on June 29, 2019, 10:58:27 AM

Twitter card validator is the same thing as the FB developer tool scraper. This is it, you can test your links before posting https://cards-dev.twitter.com/validator

I don't put any ads into my articles. So I don't see any of that. Here's my newest article.
https://www.youthhockeyinfo.com/index.php?page=12

Ross, Thanks, I've just been using the validator actually, seems some images don't show unless I validate a couple of times, maybe my server is to slow for them to pick up, and it just ignores them. I don't get any errors.

By the way, I see you don't use the Query Titles for your articles, so just shows a page number in the url, any particular reason for not using it?

jernatety

Yeh, that's why I use the validator and FB scraper. Sometimes I post them and no image comes up. So I delete the posts, run the link through the validator until it pulls the pic then re-post. I mostly validate everything now before I post to social media.

Optimus was giving a "Query string" error when query titles. No problem I just add "Follow" + URL to my robots.txt file so the bots crawl them and they don't get 301's.

bloc

Regarding PHP articles..I wager its harder to add meta tags/extract keywords etc. from PHP-based articles since the final result isn't reachable until it actually renders.

HTML is already "saved" so the mod can read it, and BBC can be tailored towards it too..but PHP can quite complex. Especially if its also renders the head tag(is that possible anymore in TP? From what I have picked up here and there its not) , ultimately making it very hard for the mod to find patterns of code to use.

It would proabably be better if TP supplied containers for meta/OG tags itself, adding it to the the headers dynamically, than letting a SMF based mod do it. But that may not be something planned in the near future so I guess its a moot point. :)


@rjen

Thats Exactly my point, but you said it better... ;)
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: bloc on June 29, 2019, 07:17:33 PM

It would proabably be better if TP supplied containers for meta/OG tags itself, adding it to the the headers dynamically, than letting a SMF based mod do it. But that may not be something planned in the near future so I guess its a moot point. :)

Hi bloc, great to see you posting, long time no hear.  ;)

meta/OG tags stuff incorporated into TP has been mentioned recently, but not sure any of us understand it enough, or have the time atm to do anything with it.

Personally I don't have any php articles, or not ones I'd want to share, they just get used to run scripts more than anything.  I should imagine the majority of articles will be written in either bbc, or html.  The Optimus mod does seem to cope with those pretty well, just have to give some thought where you place stuff.