Skip to content

Commit

Permalink
typos + build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Apr 17, 2015
1 parent 178953c commit 9104ad2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion en/contributing/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -462,5 +462,5 @@ Samples


.. meta::
:title lang=en: Documentation
:title lang=en: Documentation
:keywords lang=en: partial translations,translation efforts,html entities,text markup,asfd,asdf,structured text,english content,markdown,formatted text,dot org,repo,consistency,translator,freenode,textile,improvements,syntax,cakephp,submission
6 changes: 3 additions & 3 deletions en/core-libraries/helpers/rss.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ View
Our view, located at ``app/View/Posts/rss/index.ctp``, begins by
setting the ``$documentData`` and ``$channelData`` variables for the
layout, these contain all the metadata for our RSS feed. This is
done by using the :php:meth:`View::set()`` method which is analogous to the
Controller::set() method. Here though we are passing the channel's
done by using the :php:meth:`View::set()` method which is analogous to the
:php:meth:`Controller::set()` method. Here though we are passing the channel's
metadata back to the layout::

$this->set('channelData', array(
Expand Down Expand Up @@ -178,7 +178,7 @@ You can see above that we can use the loop to prepare the data to be transformed
into XML elements. It is important to filter out any non-plain text characters
out of the description, especially if you are using a rich text editor for the
body of your blog. In the code above we used ``strip_tags()`` and
:php:func:`h()` to remove/escape any XML special characaters from the content,
:php:func:`h()` to remove/escape any XML special characters from the content,
as they could cause validation errors. Once we have set up the data for the
feed, we can then use the :php:meth:`RssHelper::item()` method to create the XML
in RSS format. Once you have all this setup, you can test your RSS feed by going
Expand Down
8 changes: 4 additions & 4 deletions fr/core-libraries/helpers/rss.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ View
Notre vue, localisée dans ``app/View/Posts/rss/index.ctp``, commence par
définir les variables ``$documentData`` et ``$channelData`` pour le layout,
celles-ci contiennent toutes les metadonnées pour notre flux RSS. C'est fait
en utilisant la méthode :php:meth:`View::set()`` qui est analogue à la
méthode Controller::set(). Ici nous passons les canaux de données en retour au
layout::
en utilisant la méthode :php:meth:`View::set()` qui est analogue à la
méthode :php:meth:`View::set()`. Ici nous passons les canaux de données en
retour au layout::

$this->set('channelData', array(
'title' => __("Most Recent Posts"),
Expand Down Expand Up @@ -177,7 +177,7 @@ pour chaque pair de valeur de clé.
}

Vous pouvez voir ci-dessus que nous pouvons utiliser la boucle pour préparer
les données devant être transformées en elements XML. Il est important de
les données devant être transformées en éléments XML. Il est important de
filtrer tout texte de caractères non brute en-dehors de la description,
spécialement si vous utilisez un éditeur de texte riche pour le corps de votre
blog. Dans le code ci-dessus nous utilisons ``strip_tags()`` et
Expand Down

0 comments on commit 9104ad2

Please sign in to comment.