Fork 2.6.1 released
- Written by Matthias Mullie on Tuesday 2 August 2011
- Be the first to comment
Today we released Fork 2.6.1, check out the changelog. You can also follow Fork on github.
Today we released Fork 2.6.1, check out the changelog. You can also follow Fork on github.
With the 2.6.0-release we introduced some new methods to handle meta-information:
addLink
: add a link-item (e.g.: stylesheet, rssfeed, ...)addMetaData
: add a meta-tag (e.g.: keywords, robots, ...)addMetaDescription
: add a meta-descriptionaddMetaKeywords
: add meta-keywordsaddOpenGraphData
: add Open Graph dataI'm not going to explain each of these methods in detail. They are pretty self-explanatory. All you should know is that they won't overwrite the current value, unless you tell them to do so. This is for all meta-tags, except for the meta-keywords-tag, meta-description-tag and meta-robots-tag. For these specific items the value will be appended.
One method I want to explain somewhat more in depth: addOpenGraphData
.
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to enable any web page to have the same functionality as a Facebook Page.
Basicaly it means that you add some info into the HTML of your page, that other websites (like Facebook) can use to build a correct and rich snippet of your site.
In Fork it is implemented by default in the Blog-module. The only thing you need to do is add your Facebook profile-id in the Settings-tab. When that is done, you can check the source-code for a blog-article. If you look in the head-section you will see all Open Graph data is present.
The only thing you need to do is using the addOpenGraphData-method. It has 3 arguments:
$key
: the Open Graph-property (you don't need to include the og:
-part).$value
: the value for the property.$overwrite
: should the current value be overwriten. In most cases this will be true
.If you put a lot of time in setting the correct tags, it would be nice to verify the result. Well, at https://developers.facebook.com/tools/lint you can test your page.
So if you are building a new module, try it out and make it easy to share the correct content on Facebook (or any other platform that supports Open Graph Data). If you have any questions or remarks, feel free to post them below.
Today we released Fork 2.6.0, check out the changelog. You can also follow Fork on github.
Today we released Fork 2.5.2, check out the changelog. You can also follow Fork on github.
Today we released Fork 2.5.1, check out the changelog. You can also follow Fork on github.
Today we released Fork 2.5.0, check out the changelog. You can also follow Fork on github.
With the new release we introduce the initial version of the pub/sub-system. Publish/subscribe (pub/sub in short) is a pattern where sender (publishers) trigger an event, whereon receivers (subscribers) can subscribe. With this mechanism modules can be looselyy linked and are able to interact on certain events.
Read more on the technical detail in the full post.
Today we released Fork 2.4.2, check out the changelog. You can also follow Fork on github.
In Fork 2.4.2 we will introduce automagical Google Analytics Social tracking. Although 2.4.2 is yet to be released (Tuesday July 5), We want to give a quick intro on how to enable this new feature. (If you can't wait to integrate it into your personal site, you can download the code on Github)
Today we released Fork 2.4.1, check out the changelog. You can also follow Fork on github.