News: April 7th, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.3! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 20, 2019, 08:58:16 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188921
  • Total Topics: 20754
  • Online Today: 130
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 34
Total: 34

Author Topic: OPTIMUS Mod And TinyPortal  (Read 709 times)

0 Members and 1 Guest are viewing this topic.

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 274
Re: OPTIMUS Mod And TinyPortal
« Reply #10 on: June 29, 2019, 03:36:32 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!

Offline lurkalot

  • Administrator
  • *
  • Posts: 6227
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #11 on: June 29, 2019, 03: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. Edit: Twitter seems to be picking everything up now, strange, but great..  O0

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 274
Re: OPTIMUS Mod And TinyPortal
« Reply #12 on: June 29, 2019, 03:58:27 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.
Code: [Select]
https://www.youthhockeyinfo.com/index.php?page=12

Offline lurkalot

  • Administrator
  • *
  • Posts: 6227
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #13 on: June 29, 2019, 04:23:51 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.
Code: [Select]
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?

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 274
Re: OPTIMUS Mod And TinyPortal
« Reply #14 on: June 29, 2019, 05:40:50 AM »
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.

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: OPTIMUS Mod And TinyPortal
« Reply #15 on: June 29, 2019, 12:17:33 PM »
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. :)


Offline @rjen

  • Support Team
  • *
  • Posts: 1821
    • FJR-club Nederland
Re: OPTIMUS Mod And TinyPortal
« Reply #16 on: June 29, 2019, 12:35:57 PM »
Thats Exactly my point, but you said it better... ;)
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6227
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #17 on: June 29, 2019, 12:40:14 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.