Basic Controller Framework (New)
Read more at https://www.phpclasses.org/package/10513-PHP-Framework-to-route-requests-configured-controllers.html
MVSMT for short... yeah, like this is going to catch up. So anyway.
Before starting publishing the Web Performance Calendar this year I though: hey, them articles should show up nicer when shared in the most Social of Medias. You know, a big ol' image and that. (It's not really how I talk actually, even to myself)
I know about Facebook's Open Graph tags, but had little clue what others are doing, so I thought I should just install a high-ranked, high-starred WordPress plugin which should take care. And so I did, and so it does, just fine!
However, looking at the markup, it gives me a headache. Just so many meta tags. It's complicated. Who wants to deal with this by hand? Small wonder I'm letting a plugin do it.
But then... can it be simplified? Fewer tags, same result, can't be that bad.
The Minimum Viable Sharing Meta Tags look like so:
<head> <title>Minimum Viable Sharing Meta Tags (html title tag)</title> <meta name="description" content="Testing MVSMT with meta name=description"/> <meta property="og:image" content="https://www.phpied.com/files/mvsmt/gloria.png"/> </head>
Makes sense, no? We have a special HTML tag for title, we have a dedicated meta name for description, the only thing missing is an image. So OG (Open Graph) to the rescue! Done, bye!
Well... let's add a canonical URL, just in case someone shares the URL with a few ?name=value&name2=value2
pairs.
<head> <title>Minimum Viable Sharing Meta Tags (html title tag)</title> <meta name="description" content="Testing MVSMT with meta name=description"/> <meta property="og:url" content="https://www.phpied.com/files/mvsmt/mvsmt.html"/> <meta property="og:image" content="https://www.phpied.com/files/mvsmt/gloria.png"/> </head>
Very cool! In my testing this covers Facebook (initiator of Open Graph), Google+ (supports OG tags as the first fallback to the preferred schema.org tags) and LinkedIn too.
The problem is that Twitter complains about missing title and description. But they do support OG in addition to their twitter:*
meta tags. So last and final MVSMT...
<head> <title>Minimum Viable Sharing Meta Tags (html title tag)</title> <meta name="description" content="Testing MVSMT with meta name=description"/> <meta property="og:url" content="https://www.phpied.com/files/mvsmt/mvsmt.html"/> <meta property="og:image" content="https://www.phpied.com/files/mvsmt/gloria.png"/> <meta property="og:title" content="Minimum Viable Sharing Meta Tags (meta og:title)"/> <meta property="og:description" content="Testing MVSMT with meta og:description"/> <meta name="twitter:card" content="summary_large_image"/> </head>
A little annoying that you have to duplicate title and description, but hey...
Thanks to Michaël Guitton, who pointed out that Snook figured out the duplication of the description. The description tag can be like:
<meta name="description" property="og:description" content="Testing MVSMT with meta og:description"/>
Yeeey!
<title>
and <meta name="description"../>
summary_large_image
with summary
meta name
and meta property
. All OG tags are meta property
<meta property="og:title" content="FB title"/>
vs
<meta name="twitter:title" content="Twitter title"/>
How it looks in Twitter:
In Facebook:
LinkedIn (oops, no description, although there should be according to their docs):
And Google+ missing the description too:
Though they do show it in the preview before you post:
Andrew Norcross (@norcross) wrote a simpler WordPress plugin based on this post.
Article source: http://fcnaija.com/chelsea-duo-set-to-break-21year-old-premier-league-record
A New Year’s Eve yacht gathering in Dubai will see more than 1,000 yachts taking part.
The gathering on December 29 to 31 will be held in a leisure setting along the shores of Dubai. “It will provide an exceptional experience to enjoy the legendary New Year celebrations of Dubai, alongside the world’s largest fireworks and light displays,” said Sea Dubai in a Press statement.
The Dubai Maritime City Authority (DMCA) and the Dubai Police are among the 12 public and private entities supporting the gathering.
Sultan bin Sulayem, Dubai Ports World Group Chairman CEO and Chairman of Ports, Customs and Free Zone Corporation, said: “The New Year’s Eve yacht gathering will be a new, different way to celebrate the New Year. We have now a more diversified tourism product offering, and with bold initiatives like Sea Dubai, we can expect more success and growth in 2018 and beyond.”
Ali Al Daboos, executive director of operations, DMCA, said: “New Year’s Eve yacht gathering 2018 is an important addition to ongoing initiatives for enhancing Dubai’s position as a world-class destination for New Year’s Day celebrations. This is an excellent initiative aimed at delivering a unique three-day experience spanning the Burj Al Arab up to the Palm Jumeirah.”
reporters@khaleejtimes.com
The Dubai Maritime City Authority (DMCA) and the Dubai Police are… READ MORE
A lot of residents are sceptical about spending huge amounts of money … READ MORE
The programme has approved support for 7,000 beneficiaries since… READ MORE
The ‘Saskatraz’ bees have a shiny golden sheen and produce huge… READ MORE
Earlier in December Sheikh Mohamed bin Zayed had directed MoI to… READ MORE
Three prominent UAE entrepreneurs make it to super-elite list READ MORE
4,000 parking slots and 170 buses to ease transportation for New Year … READ MORE
RTA has also announced Metro and tram timings. READ MORE
Article source: https://www.khaleejtimes.com/nation/dubai/watch-new-year-celebrations-along-the-shores-in-dubai
The Nigerian National Petroleum Corporation (NNPC) has incurred about N9.4 billion in subsidy since Tuesday last week going by its own admission that it has ramped up petrol import by 52 million litres daily to tackle an embarrassing fuel scarcity that marred the holidays. According to the NNPC, 52 million litres of daily petrol importation…
Article source: https://www.businessdayonline.com/nnpc-incurs-n9-4bn-petrol-oil-subsidy-7-days/
Hapoel Hadera goalkeeper, Austin Ejide has said he will work hard and do his best so as to secure a spot in the Super Eagles team that are gearing up for the 2018 World Cup in Russia.
Ejide 33, last played for the Super Eagles in 2014 in a friendly match between Nigeria and Scotland. Despite playing for in Israel’s second tier, Ejide is sheer hopeful of securing a place in the Super Eagles team heading to Russia next year. “The World Cup? I’ll try my very best until the end of the season,” Ejide told TheCable. “But we’ll just have to wait and see. I’ll give my all, but it’s up to the Super Eagles coach Gernot Rohr.” Ejide has been named in three FIFA World Cup squads; 2002 in Japan and South Korea, 2010 in South Africa and 2014 in Brazil.Article source: http://www.fcnaija.com/desperate-austin-ejide-wants-to-represent-eagles-in-russia
African legend George Weah has praised Arsenal boss, Arsene Wenger as the man who helped him in achieving his football dreams in Europe during his career.
The 51-year old ex-footballer-turned-politician said Wenger showered him a fatherly love at a period in the beautiful game when he doubted himself and his ability to make it in football. Recalling the period he worked with Wenger while he was at Monaco Weah said: “He was a father figure and regarded me as his son,” Weah told the Guardian. “This was a man when racism was at its peak, who showed me, love. He wanted me to be on the pitch for him every day. “One day, I was quite tired of training and told him that I was having a headache. He said to me: ‘George, I know it’s tough but you need to work hard. I believe that with your talent, you can become one of the best players in the world.” “So, I listened and kept going on. Besides God, I think that without Arsène, there was no way I would have made it in Europe.”Article source: http://www.fcnaija.com/legendary-liberian-striker-george-weah-thanks-arsene-wenger
Barcelona has joined Liverpool in the race to sign Southampton defender Virgil van Dijk, according to report.
Liverpool is set to meet the £70m valuation for Van Dijk and reports in TMW say Barcelona is also interested in signing the Dutch international. Spanish media outlets also claimed that Barcelona has contacted Southampton over his possible signing, in a bid to replace departing Javier Mascherano. The Southampton’s captain has been o the radar of Liverpool since the end of last season, Jurgen Klopp is a fan of the centre back and he has given the Reds the go-ahead to bring the Dutchman to Anfield but the deal could not materialise and Southampton also threaten to report Liverpool to the English FA for illegal approach. Van Dijk is eligible to play in the Champions League, which has increased the prospect of signing him by the Camp Nou giants.Article source: http://www.fcnaija.com/barcelona-joins-liverpool-in-the-race-to-sign-van-dijk
Shoppers rushed to various malls for their year-end shopping needs as the 23rd edition of the annual Dubai Shopping Festival (DSF) kicked off across Dubai on Tuesday.
On Tuesday noon, the roads leading to some malls started experiencing heavy traffic, parking spaces were hard to find and some Metro stations registered higher footfall as shoppers took advantage of the huge discounts ranging bet-ween 25 and 90 per cent. The participating malls are Mall of the Emirates, City Centre Mirdif, City Centre Deira, City Centre Me’ai-sem, City Centre Barsha and City Centre Al Shindagha.
The supersale, which started from 12pm and ran until midnight, gave customers the chance to get their hands on amazing deals. Moreover, shoppers who spent Dh300 during the 12 hours entered a lucky draw to grab the grand prize of Dh50,000 worth of shopping vouchers.
Shoppers were also treated to in-mall entertainment. At The Dubai Mall, drummers, harpists and musical waiters provided music and cultural programmes.
Chinese national Li Zhu, who is visiting Dubai for the first time, told Khaleej Times that he is amazed with the colourful shopping tradition in the emirate. “There is music, fireworks displays and of course, the prices of shopping items are very tempting,” he said.
Shoppers looked for the best deals in jewellery, gold, fashion merchandise and gadgets. Some also planned to redecorate their homes for the coming new year while others bought late Christmas gifts for their families and friends.
A post shared by Dubai Shopping Festival (@dsfsocial) on Dec 26, 2017 at 4:50am PST
Staff at malls also showed their excitement about the annual shopping festival. Filipino expat Aimee Payoyo said the DSF means more sales for their company and more sales means bonus for the staff.
At night, the Dubai skies were lit with spectacular fireworks over Al Seef, La Mer and The Beach opposite JBR. The shopping extravaganza will run daily until January 27,2018, offering tourists and residents five weeks of incredible shopping experience.
25-75 per cent discount at over 3,000 participating outlets across the Dubai. But be sure to get to the malls early to grab the best items.
Shop and win. Spend Dh200 at participating malls of the Dubai Shopping Malls Group to get a chance to win cash and gift vouchers to the value of Dh1 million at participating malls.
More discounts. Purchase a DSF Pass to get up to 65 per cent discount at over 60 top attractions and dining options across the city such as, ‘At The Top’ Burj Khalifa, Kaleidoscope, IMG Worlds of Adventure and La Perle.
DSF is not just about shopping. Watch the mesmerising fireworks every night at Al Seef (9pm) La Mer (9pm) and The Beach (8.30pm) opposite JBR, will be having spectacular firework displays.
Enjoy various light and musical shows, including ‘The Lighting Fairies’ and ‘Light Umbrella’ at Al Seef, the latest lifestyle destination by The Creek
Visitors to The Beach opposite JBR can enjoy the carnival atmosphere with live performances from local and international acrobats
If you want to redecorate your home for 2018, get a chance to win a specially curated DSF concept room, complete with top furniture worth up to Dh10,000 for every Dh1,000 at Ikea, ID Design, Home Centre, Home Box and Cottage Chic
Chance to drive home Infiniti QX60 plus Dh150,000 in cash if you buy raffle tickets worth Dh200 from EPPCO and ENOC petrol stations, Global Village, Zoom, and Metro station across the city
Friday shopping madness. Every Friday throughout DSF, there will be a ‘Friday Surprise’ with an exclusive retail product/product range sold at a great price at a specified shopping location.
Happy shopping
Discounts are just an icing on the cake. Isn’t it? Anyone who has been in Dubai during the annual shopping festival would vouch that the month-long event turns the whole city into a jamboree of sorts. It has always been a crowd-puller for residents as well as tourists. Rarely have we seen marketing events of this scale succeed and stay afloat for so long. The DSF is magical indeed!
angel@khaleejtimes.com
Shoppers looked for the best deals in jewellery, gold, fashion… READ MORE
Weather experts have forecast fog formation to continue until Friday, … READ MORE
Global Village to welcome New Year with India, Pakistan, Bangladesh READ MORE
In its ruling on Tuesday, the Dubai Court of First Instance also… READ MORE
Where Careem and Uber are used as a taxi for passenger transport; the … READ MORE
The experience will be streamed online at www.mydubainewyear.com READ MORE
The very first ‘New Year’s Eve Countdown Village’, taking place on… READ MORE
In its ruling on Tuesday, the Dubai Court of First Instance also… READ MORE
<!–
//$(document).ready(function(){
$(“#commentssubmit”).load(‘/misc/misc/SubmitUserComments.pbs?AID=/20171226/ARTICLE/171229437&commenttype=AR&nocache=1&r=’+ RandomString(20)+’#getme’);
if (CommentsCheckUrlForNocache())
$(“#commentscontainer”).load(‘/apps/pbcs.dll/UserComments?AID=/20171226/ARTICLE/171229437&commenttype=AR&nocache=1’);
else
$(“#commentscontainer”).load(‘/apps/pbcs.dll/UserComments?AID=/20171226/ARTICLE/171229437&commenttype=AR’);
//});
–>
Article source: https://www.khaleejtimes.com/nation/dubai/dubai-shopping-festival-begins-with-heavy-traffic-fabulous-sales