Le blog de JeanMichel FRANCOIS aka toutpt

Releases of the week

I have worked with Raphael Gaziano during the week to improve oembed experience. The goal of oembed is to provide a way to display a content from outside (youtube, twitter, ...) just by using its URL.

To achieve this we use a set of providers, asking each one if they support the url. The first supporting it is used to get an embed HTML snippet that will be added to the page.

Aucun vote pour l'instant.
Étiquettes:

How to validate google webmaster tools with diazo

On the CMS Plone I'm used to validate google webmaster tools by adding in ZMI the file provided by Google during the validation process.

google webmaster tools ZMI

Aucun vote pour l'instant.
Étiquettes:

Make your website faster (resources optimization)

A page on a website is displayed in your browser using three technologies: HTML, CSS and Javascript. The HTML is responsible for the structure (sementic) and also to load resources. CSS and Javascripts are resources.

Aucun vote pour l'instant.
Étiquettes:

How to list views used in your Plone site

catalog = container.portal_catalog
types = container.portal_types.objectIds()
views = {}

for t in types:
    brains = catalog(portal_type=t)

    for brain in brains:
        ob = brain.getObject()
        layout = ob.getLayout()
        if t not in views:views[t] = []
        if layout not in views[t]:
            views[t].append(layout)

print views
return printed
Aucun vote pour l'instant.
Étiquettes:

nantes-developpement.com

Remember from July 7 2010 the release of the website nantes-developpement.com . This project has been updated and it uses lots of add-ons.

Aucun vote pour l'instant.
Étiquettes:

Masonry plugin updated

The plugin collective.masonry has been updated !

Masonry JQuery plugin has been updated to v2.0 and JQuery imageloaded in the same time.

Aucun vote pour l'instant.
Étiquettes:

Collective disqus now support for multi language

I have just added the support of the language following the help on disqus. So now you can just use disqus in the language of the current page.

It is used on this website, you can just check the translation of this news ;)

Aucun vote pour l'instant.
Étiquettes:

Configuration of browser view

Have you ever want to configure your view because each context can be displayed with some specific behaviors ? How do you have proceed ?

Let me show you many ways to achieve this:

Create a content type

For example you want to create a great slideshow. A slideshow should be just a view over images or news items with a way to configure delays, sizes, ...

Aucun vote pour l'instant.
Étiquettes:

Configuration of browser view

Have you ever want to configure your view because each context can be displayed with some specific behaviors ? How do you have proceed ?

Let me show you many ways to achieve this:

Create a content type

For example you want to create a great slideshow. A slideshow should be just a view over images or news items with a way to configure delays, sizes, ...

Aucun vote pour l'instant.
Étiquettes:

Google News & Plone

Google News is a great service to follow news. A customer have asked me to submit their Plone web site to Google News.

Aucun vote pour l'instant.
Étiquettes: