<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-24200216</id><updated>2012-02-16T15:19:15.482Z</updated><category term='Not yet completed'/><category term='Creche'/><category term='ATL'/><category term='Av. 5 de Outubro - Restaurante Amador'/><category term='pré-escola'/><category term='Condiminio Privado para venda'/><title type='text'>Arquiteto Ricardo Bruno Bernardes</title><subtitle type='html'>Basicamente um espaço sobre Arquitetura. Projetos, imagens e ideias.Contacto Tel:+351919705590 - Morada:Rua André Pires nº1 8700 Olhão 
 email:bbernardes1@gmail.com  O.A.Sócio nº7188</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default?start-index=26&amp;max-results=25'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24200216.post-2968418207057651181</id><published>2011-11-18T12:28:00.001Z</published><updated>2012-01-03T02:49:54.760Z</updated><title type='text'>Lar de Idosos-Tavira</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-h2OQ89UaxqA/TuuUU0TV7nI/AAAAAAAAAQA/QPc_K443cDw/s1600/Lar14.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-S-cy7r_K08o/Tu1Bs-yuKxI/AAAAAAAAAQM/NKaxp5CoDbY/s1600/Lar18.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-DJZRBCwKitA/TwJsaRZcizI/AAAAAAAAATQ/KcWANT0OikQ/s1600/Lar35.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-DJZRBCwKitA/TwJsaRZcizI/AAAAAAAAATQ/KcWANT0OikQ/s1600/Lar35.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://2.bp.blogspot.com/-DJZRBCwKitA/TwJsaRZcizI/AAAAAAAAATQ/KcWANT0OikQ/s320/Lar35.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/-_uJjURb0yZ8/TwJsf-91KGI/AAAAAAAAATc/4TYsVXdjajM/s1600/Lar36.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-_uJjURb0yZ8/TwJsf-91KGI/AAAAAAAAATc/4TYsVXdjajM/s320/Lar36.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/-h2OQ89UaxqA/TuuUU0TV7nI/AAAAAAAAAQA/QPc_K443cDw/s1600/Lar14.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-h2OQ89UaxqA/TuuUU0TV7nI/AAAAAAAAAQA/QPc_K443cDw/s320/Lar14.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-S-cy7r_K08o/Tu1Bs-yuKxI/AAAAAAAAAQM/NKaxp5CoDbY/s1600/Lar18.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://4.bp.blogspot.com/-S-cy7r_K08o/Tu1Bs-yuKxI/AAAAAAAAAQM/NKaxp5CoDbY/s320/Lar18.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-WV-Da1Akhzo/TttoTI9UI6I/AAAAAAAAAP4/-ZygcPFJROg/s1600/Lar11.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://1.bp.blogspot.com/-WV-Da1Akhzo/TttoTI9UI6I/AAAAAAAAAP4/-ZygcPFJROg/s320/Lar11.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-lsXLWjeCA7Q/TtEDoR0WvzI/AAAAAAAAAPo/H4S2E5VbsMI/s1600/Lar8.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-lsXLWjeCA7Q/TtEDoR0WvzI/AAAAAAAAAPo/H4S2E5VbsMI/s1600/Lar8.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-D1sKfJVKp6c/Tu_NXo87UkI/AAAAAAAAAQg/N0XxAICEV-g/s1600/Lar20.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://1.bp.blogspot.com/-D1sKfJVKp6c/Tu_NXo87UkI/AAAAAAAAAQg/N0XxAICEV-g/s320/Lar20.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/-wKLyuD_n8y4/Tu8aCrQN8gI/AAAAAAAAAQY/RBwPSE9ss30/s1600/Lar19.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://2.bp.blogspot.com/-wKLyuD_n8y4/Tu8aCrQN8gI/AAAAAAAAAQY/RBwPSE9ss30/s320/Lar19.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-VhOxR4tGsaE/Tvmb2yBiAvI/AAAAAAAAARg/EChyY_63RA4/s1600/Lar25.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://4.bp.blogspot.com/-VhOxR4tGsaE/Tvmb2yBiAvI/AAAAAAAAARg/EChyY_63RA4/s320/Lar25.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-P8bvuE2pOlo/TvMYr0BeywI/AAAAAAAAAQw/w9fYrMqGPE0/s1600/Lar21.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-P8bvuE2pOlo/TvMYr0BeywI/AAAAAAAAAQw/w9fYrMqGPE0/s320/Lar21.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-_mmsLNnsIrk/TsZPm4Ge6XI/AAAAAAAAAOg/J2ShC31wsko/s1600/3D-Lar.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="162" src="http://4.bp.blogspot.com/-_mmsLNnsIrk/TsZPm4Ge6XI/AAAAAAAAAOg/J2ShC31wsko/s320/3D-Lar.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-V1cjq2BKQlk/Tv0rFN9NwFI/AAAAAAAAAS4/WeRglHqe11E/s1600/Lar31.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://1.bp.blogspot.com/-V1cjq2BKQlk/Tv0rFN9NwFI/AAAAAAAAAS4/WeRglHqe11E/s320/Lar31.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-BTI_os6i54c/Tv7wkyb9dXI/AAAAAAAAATE/mKdYXFKQEcE/s1600/Lar33.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-BTI_os6i54c/Tv7wkyb9dXI/AAAAAAAAATE/mKdYXFKQEcE/s320/Lar33.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-1Gr-V__kML8/TwJsvIboSrI/AAAAAAAAATo/HCX4K1tdOV8/s1600/Lar34.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://4.bp.blogspot.com/-1Gr-V__kML8/TwJsvIboSrI/AAAAAAAAATo/HCX4K1tdOV8/s320/Lar34.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-pPv2p4wKGz4/Tvp1fc8ku1I/AAAAAAAAASI/IQiJIy94b6A/s1600/Lar26.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://4.bp.blogspot.com/-pPv2p4wKGz4/Tvp1fc8ku1I/AAAAAAAAASI/IQiJIy94b6A/s320/Lar26.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-OyJwggQY37U/Tvp1j6Lv2TI/AAAAAAAAASU/Z9cplKAD6RM/s1600/Lar27.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-OyJwggQY37U/Tvp1j6Lv2TI/AAAAAAAAASU/Z9cplKAD6RM/s320/Lar27.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-2Vkj8j_WzwU/Tvp06BwP9UI/AAAAAAAAAR8/3SoI29WNty4/s1600/Lar28.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://4.bp.blogspot.com/-2Vkj8j_WzwU/Tvp06BwP9UI/AAAAAAAAAR8/3SoI29WNty4/s320/Lar28.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-iZ7mIPQmHM8/Ts4i-OI3ZnI/AAAAAAAAAPM/O-6mL5yjOGA/s1600/Lar5.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-D7dQpPhi9q8/Tvu4V4Y6NHI/AAAAAAAAASs/KW_U7iNQOV8/s1600/Lar30.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="153" src="http://2.bp.blogspot.com/-D7dQpPhi9q8/Tvu4V4Y6NHI/AAAAAAAAASs/KW_U7iNQOV8/s320/Lar30.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-2968418207057651181?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/2968418207057651181/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=2968418207057651181&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/2968418207057651181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/2968418207057651181'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/11/lar-de-idosos.html' title='Lar de Idosos-Tavira'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-DJZRBCwKitA/TwJsaRZcizI/AAAAAAAAATQ/KcWANT0OikQ/s72-c/Lar35.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>Estr. EN1239, 8800 Tavira, Portugal</georss:featurename><georss:point>37.164181196899 -7.58181095123291</georss:point><georss:box>37.151525196899 -7.60155195123291 37.176837196899 -7.56206995123291</georss:box></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-6539470811467643258</id><published>2011-08-19T17:22:00.001+01:00</published><updated>2011-11-18T12:35:04.561Z</updated><title type='text'></title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-tT6m457NOJ0/Tk6NmUpR3TI/AAAAAAAAANo/NSp7bbtq9NU/s1600/logo4.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="96" src="http://2.bp.blogspot.com/-tT6m457NOJ0/Tk6NmUpR3TI/AAAAAAAAANo/NSp7bbtq9NU/s320/logo4.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-6539470811467643258?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/6539470811467643258/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=6539470811467643258&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/6539470811467643258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/6539470811467643258'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/08/blog-post.html' title=''/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-tT6m457NOJ0/Tk6NmUpR3TI/AAAAAAAAANo/NSp7bbtq9NU/s72-c/logo4.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-1464931220535040153</id><published>2011-07-19T17:36:00.001+01:00</published><updated>2011-07-19T17:36:45.582+01:00</updated><title type='text'>City Regeneration</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-W6vRrdroHFQ/TiWyL3uFloI/AAAAAAAAANU/e1tvj9HZF4U/s1600/Imagem+002.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-W6vRrdroHFQ/TiWyL3uFloI/AAAAAAAAANU/e1tvj9HZF4U/s320/Imagem+002.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-QHJdqP8ETqQ/TiWyhHRvwgI/AAAAAAAAANY/Z1SQ-dkjRw0/s1600/DSC03932.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-QHJdqP8ETqQ/TiWyhHRvwgI/AAAAAAAAANY/Z1SQ-dkjRw0/s320/DSC03932.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-1464931220535040153?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/1464931220535040153/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=1464931220535040153&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/1464931220535040153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/1464931220535040153'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/07/city-regenaration.html' title='City Regeneration'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-W6vRrdroHFQ/TiWyL3uFloI/AAAAAAAAANU/e1tvj9HZF4U/s72-c/Imagem+002.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-1319404983301631666</id><published>2011-07-19T16:16:00.000+01:00</published><updated>2011-07-19T16:16:07.371+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Not yet completed'/><title type='text'>Ines Santana- House in Moncarapacho</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-XJs-IZOf5T0/TiWd8IvTGZI/AAAAAAAAALc/2Uu8-zYs_gI/s1600/DSC04038.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-XJs-IZOf5T0/TiWd8IvTGZI/AAAAAAAAALc/2Uu8-zYs_gI/s320/DSC04038.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-7cvptwglZ7E/TiWdY6x0sRI/AAAAAAAAALY/dUvX_CYt55w/s1600/DSC04036.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-7cvptwglZ7E/TiWdY6x0sRI/AAAAAAAAALY/dUvX_CYt55w/s320/DSC04036.JPG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-nZrj7VHbw1E/TiWePNkQXsI/AAAAAAAAALg/04psIdKrw8g/s1600/DSC04042.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-nZrj7VHbw1E/TiWePNkQXsI/AAAAAAAAALg/04psIdKrw8g/s320/DSC04042.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-3xyOCl7ECn4/TiWej67YoZI/AAAAAAAAALk/qLqpZv3pT6Y/s1600/DSC04044.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-3xyOCl7ECn4/TiWej67YoZI/AAAAAAAAALk/qLqpZv3pT6Y/s320/DSC04044.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-1319404983301631666?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/1319404983301631666/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=1319404983301631666&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/1319404983301631666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/1319404983301631666'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/07/ines-santana-house-in-moncarapacho.html' title='Ines Santana- House in Moncarapacho'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-XJs-IZOf5T0/TiWd8IvTGZI/AAAAAAAAALc/2Uu8-zYs_gI/s72-c/DSC04038.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-8789933161600890768</id><published>2011-07-19T16:01:00.000+01:00</published><updated>2011-07-19T16:01:38.048+01:00</updated><title type='text'>Mario Figueiredo-House in Olhão</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s1600/DSC04017.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-2NiR9wvOQ68/TiWZwH3MUKI/AAAAAAAAALE/OyOyXajrSQQ/s1600/DSC04010.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s1600/DSC04017.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s320/DSC04017.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s1600/DSC04017.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s1600/DSC04017.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/-5hyF6SGvMmw/TiWaGsGTDKI/AAAAAAAAALI/Y1m3oMKq40Q/s1600/DSC04014.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-5hyF6SGvMmw/TiWaGsGTDKI/AAAAAAAAALI/Y1m3oMKq40Q/s320/DSC04014.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/-2NiR9wvOQ68/TiWZwH3MUKI/AAAAAAAAALE/OyOyXajrSQQ/s1600/DSC04010.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-2NiR9wvOQ68/TiWZwH3MUKI/AAAAAAAAALE/OyOyXajrSQQ/s320/DSC04010.JPG" width="320" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-8789933161600890768?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/8789933161600890768/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=8789933161600890768&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/8789933161600890768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/8789933161600890768'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/07/mario-figueiredo-house-in-olhao.html' title='Mario Figueiredo-House in Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-8apnXZ1Fxt4/TiWbPuxkDZI/AAAAAAAAALU/jGULyFXRcwY/s72-c/DSC04017.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-4557327975941089268</id><published>2011-07-19T15:32:00.001+01:00</published><updated>2011-07-19T15:34:08.981+01:00</updated><title type='text'>Miguel Santana -House in Tavira</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-2eZ4PTCGyn4/TiWRB19NOeI/AAAAAAAAAKQ/9qidJDj7qfw/s1600/DSC04033.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-2eZ4PTCGyn4/TiWRB19NOeI/AAAAAAAAAKQ/9qidJDj7qfw/s320/DSC04033.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-a2eNGeM5TOo/TiWRdpANWEI/AAAAAAAAAKU/vo3PyApG4oU/s1600/DSC04032.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-a2eNGeM5TOo/TiWRdpANWEI/AAAAAAAAAKU/vo3PyApG4oU/s320/DSC04032.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ogl6cPn7EEE/TiWR1Nz3SYI/AAAAAAAAAKY/pf-Qf2w7XDs/s1600/DSC04031.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-ogl6cPn7EEE/TiWR1Nz3SYI/AAAAAAAAAKY/pf-Qf2w7XDs/s320/DSC04031.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-EGMLtHM7KM4/TiWSTtX1ihI/AAAAAAAAAKc/sY6OLBWyiPw/s1600/DSC04023.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-EGMLtHM7KM4/TiWSTtX1ihI/AAAAAAAAAKc/sY6OLBWyiPw/s320/DSC04023.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-RWIQmjH-76w/TiWSzXtbdPI/AAAAAAAAAKg/hoHP_ZiLPBU/s1600/DSC04024.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-RWIQmjH-76w/TiWSzXtbdPI/AAAAAAAAAKg/hoHP_ZiLPBU/s320/DSC04024.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-g4vfS-ad5GM/TiWTKkwkFAI/AAAAAAAAAKk/6dhw8nw_4ys/s1600/DSC04020.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-g4vfS-ad5GM/TiWTKkwkFAI/AAAAAAAAAKk/6dhw8nw_4ys/s320/DSC04020.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-14VGQ04F51M/TiWUTehIF0I/AAAAAAAAAKs/hYUVn8qwmBU/s1600/DSC04027.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/-14VGQ04F51M/TiWUTehIF0I/AAAAAAAAAKs/hYUVn8qwmBU/s1600/DSC04027.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-14VGQ04F51M/TiWUTehIF0I/AAAAAAAAAKs/hYUVn8qwmBU/s320/DSC04027.JPG" width="320" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/-WfwOP7S-7sk/TiWT5S2vAAI/AAAAAAAAAKo/hn0jacJ-PCk/s1600/DSC04030.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-WfwOP7S-7sk/TiWT5S2vAAI/AAAAAAAAAKo/hn0jacJ-PCk/s320/DSC04030.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-rmiQ5dQjsrc/TiWUsQJ5QRI/AAAAAAAAAKw/pCWeRrP91L8/s1600/DSC04019.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-rmiQ5dQjsrc/TiWUsQJ5QRI/AAAAAAAAAKw/pCWeRrP91L8/s320/DSC04019.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-SZnQrQGA9_8/TiWVGkui2qI/AAAAAAAAAK0/kQQITfWhfSU/s1600/DSC04029.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-SZnQrQGA9_8/TiWVGkui2qI/AAAAAAAAAK0/kQQITfWhfSU/s320/DSC04029.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-4557327975941089268?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/4557327975941089268/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=4557327975941089268&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4557327975941089268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4557327975941089268'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/07/miguel-santana-house-in-tavira.html' title='Miguel Santana -House in Tavira'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-2eZ4PTCGyn4/TiWRB19NOeI/AAAAAAAAAKQ/9qidJDj7qfw/s72-c/DSC04033.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-6467118287113149837</id><published>2011-01-25T16:47:00.001Z</published><updated>2011-02-10T17:27:27.465Z</updated><title type='text'>Conservatório de Música-Olhão</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/TUrHjZrDtJI/AAAAAAAAAJM/bxJFi366mpQ/s1600/16.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/TUrHjZrDtJI/AAAAAAAAAJM/bxJFi366mpQ/s320/16.jpg" alt="" id="BLOGGER_PHOTO_ID_5569483300197872786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TUmqUFEPjBI/AAAAAAAAAIw/XLX5QJIsAuI/s1600/14.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TUmqUFEPjBI/AAAAAAAAAIw/XLX5QJIsAuI/s320/14.jpg" alt="" id="BLOGGER_PHOTO_ID_5569169676154407954" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/TUmqbCOKuDI/AAAAAAAAAI4/qwHcPRaDOPI/s1600/15.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/TUmqbCOKuDI/AAAAAAAAAI4/qwHcPRaDOPI/s320/15.jpg" alt="" id="BLOGGER_PHOTO_ID_5569169795649812530" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-xJWzSroxkoE/TVQfZH9htgI/AAAAAAAAAJU/bUeI3wbMz80/s1600/8.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 166px;" src="http://4.bp.blogspot.com/-xJWzSroxkoE/TVQfZH9htgI/AAAAAAAAAJU/bUeI3wbMz80/s320/8.jpg" alt="" id="BLOGGER_PHOTO_ID_5572113155458446850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-hUR-5BqD3YU/TVQfsAZzoYI/AAAAAAAAAJk/IClLczJBFgc/s1600/18.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://2.bp.blogspot.com/-hUR-5BqD3YU/TVQfsAZzoYI/AAAAAAAAAJk/IClLczJBFgc/s320/18.jpg" alt="" id="BLOGGER_PHOTO_ID_5572113479847092610" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/TUmqlGtqWpI/AAAAAAAAAJA/o0C5wP36UV4/s1600/13.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/TUmqlGtqWpI/AAAAAAAAAJA/o0C5wP36UV4/s320/13.jpg" alt="" id="BLOGGER_PHOTO_ID_5569169968654342802" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-V_rsIb3lyy8/TVQf3D01OqI/AAAAAAAAAJs/uz_MQIg8EIg/s1600/AL%25C3%2587ADO.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://4.bp.blogspot.com/-V_rsIb3lyy8/TVQf3D01OqI/AAAAAAAAAJs/uz_MQIg8EIg/s320/AL%25C3%2587ADO.jpg" alt="" id="BLOGGER_PHOTO_ID_5572113669744310946" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-6467118287113149837?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/6467118287113149837/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=6467118287113149837&amp;isPopup=true' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/6467118287113149837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/6467118287113149837'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/01/conservatorio-de-musica-olhao.html' title='Conservatório de Música-Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yxTInpTENfw/TUrHjZrDtJI/AAAAAAAAAJM/bxJFi366mpQ/s72-c/16.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-5961104688730458420</id><published>2011-01-05T18:34:00.000Z</published><updated>2011-01-11T14:54:32.002Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Av. 5 de Outubro - Restaurante Amador'/><title type='text'>Edificio de habitação e comerçio-Olhão</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TSxvF-cd0nI/AAAAAAAAAIA/nBeTcVDQVPM/s1600/10.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TSxvF-cd0nI/AAAAAAAAAIA/nBeTcVDQVPM/s320/10.jpg" alt="" id="BLOGGER_PHOTO_ID_5560941788348142194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/TSX9tYrPS0I/AAAAAAAAAHw/qPYaws37FBA/s1600/8.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/TSX9tYrPS0I/AAAAAAAAAHw/qPYaws37FBA/s320/8.jpg" alt="" id="BLOGGER_PHOTO_ID_5559128271218494274" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TScvxmLjo9I/AAAAAAAAAH4/BlscRM-40xA/s1600/6.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 146px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TScvxmLjo9I/AAAAAAAAAH4/BlscRM-40xA/s320/6.jpg" alt="" id="BLOGGER_PHOTO_ID_5559464794121282514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/TSS56MvPEZI/AAAAAAAAAGw/SqOv6g8SdE0/s1600/7.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/TSS56MvPEZI/AAAAAAAAAGw/SqOv6g8SdE0/s320/7.jpg" alt="" id="BLOGGER_PHOTO_ID_5558772249584931218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TSS6IR-fYEI/AAAAAAAAAG4/3zqqbaVuJBU/s1600/6.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TSS6IR-fYEI/AAAAAAAAAG4/3zqqbaVuJBU/s320/6.jpg" alt="" id="BLOGGER_PHOTO_ID_5558772491509260354" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/TSS6UlHgRQI/AAAAAAAAAHA/PKAy_XH38ro/s1600/5.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 162px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/TSS6UlHgRQI/AAAAAAAAAHA/PKAy_XH38ro/s320/5.jpg" alt="" id="BLOGGER_PHOTO_ID_5558772702805771522" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/TSS6d0EeFYI/AAAAAAAAAHI/RJUXG-4rrVU/s1600/4.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 166px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/TSS6d0EeFYI/AAAAAAAAAHI/RJUXG-4rrVU/s320/4.jpg" alt="" id="BLOGGER_PHOTO_ID_5558772861438399874" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/TSS8Vvz5k0I/AAAAAAAAAHY/nQNGSSkbrTU/s1600/4.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 146px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/TSS8Vvz5k0I/AAAAAAAAAHY/nQNGSSkbrTU/s320/4.jpg" alt="" id="BLOGGER_PHOTO_ID_5558774921879458626" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/TSS6pXHIB8I/AAAAAAAAAHQ/bKesXM22-R4/s1600/1.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 166px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/TSS6pXHIB8I/AAAAAAAAAHQ/bKesXM22-R4/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5558773059823339458" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-5961104688730458420?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/5961104688730458420/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=5961104688730458420&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/5961104688730458420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/5961104688730458420'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2011/01/blog-post.html' title='Edificio de habitação e comerçio-Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yxTInpTENfw/TSxvF-cd0nI/AAAAAAAAAIA/nBeTcVDQVPM/s72-c/10.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-4589936589489556377</id><published>2010-09-30T10:21:00.003+01:00</published><updated>2011-09-06T15:33:15.600+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ATL'/><category scheme='http://www.blogger.com/atom/ns#' term='pré-escola'/><category scheme='http://www.blogger.com/atom/ns#' term='Creche'/><title type='text'>Creche-A.T.L.- Pré-Escola-1ºCiclo</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TQevjlI1WcI/AAAAAAAAAGM/lG32A_t5eFM/s1600/8.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550598091556870594" src="http://1.bp.blogspot.com/_yxTInpTENfw/TQevjlI1WcI/AAAAAAAAAGM/lG32A_t5eFM/s320/8.jpg" style="cursor: pointer; float: left; height: 162px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TTXScjlTC6I/AAAAAAAAAIQ/j1ZulpkYH8s/s1600/14.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5563584302715964322" src="http://1.bp.blogspot.com/_yxTInpTENfw/TTXScjlTC6I/AAAAAAAAAIQ/j1ZulpkYH8s/s320/14.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TQIbvofBAfI/AAAAAAAAAFc/6r_Ak2Ja3vc/s1600/8.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5549028196009181682" src="http://4.bp.blogspot.com/_yxTInpTENfw/TQIbvofBAfI/AAAAAAAAAFc/6r_Ak2Ja3vc/s320/8.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TQeQmLn_RoI/AAAAAAAAAGE/3kWdLC0VsII/s1600/7.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550564051387369090" src="http://1.bp.blogspot.com/_yxTInpTENfw/TQeQmLn_RoI/AAAAAAAAAGE/3kWdLC0VsII/s320/7.jpg" style="cursor: pointer; float: left; height: 162px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TTXSL_dOJoI/AAAAAAAAAII/dcKdQ-1s4YA/s1600/10.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5563584018140505730" src="http://1.bp.blogspot.com/_yxTInpTENfw/TTXSL_dOJoI/AAAAAAAAAII/dcKdQ-1s4YA/s320/10.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TTXS3WHudDI/AAAAAAAAAIg/Hc-2ENIkx3A/s1600/11.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5563584762958738482" src="http://3.bp.blogspot.com/_yxTInpTENfw/TTXS3WHudDI/AAAAAAAAAIg/Hc-2ENIkx3A/s320/11.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TTXSpyKA-KI/AAAAAAAAAIY/iqffHFWq1Ko/s1600/15.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5563584529966364834" src="http://3.bp.blogspot.com/_yxTInpTENfw/TTXSpyKA-KI/AAAAAAAAAIY/iqffHFWq1Ko/s320/15.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TQIcAv5lWnI/AAAAAAAAAFk/TAR1m62bxLw/s1600/9.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5549028490057439858" src="http://4.bp.blogspot.com/_yxTInpTENfw/TQIcAv5lWnI/AAAAAAAAAFk/TAR1m62bxLw/s320/9.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TKRW2N1hkcI/AAAAAAAAADA/ozzcCt9_HhI/s1600/Floor-1.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5522634532490154434" src="http://4.bp.blogspot.com/_yxTInpTENfw/TKRW2N1hkcI/AAAAAAAAADA/ozzcCt9_HhI/s320/Floor-1.jpg" style="cursor: pointer; float: left; height: 167px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TNQywqdPEBI/AAAAAAAAAD8/5_y0yqq5zRI/s1600/Cave-1.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5536105653557202962" src="http://4.bp.blogspot.com/_yxTInpTENfw/TNQywqdPEBI/AAAAAAAAAD8/5_y0yqq5zRI/s320/Cave-1.jpg" style="cursor: pointer; float: left; height: 168px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TNv-PXaktaI/AAAAAAAAAEE/O8NMSXtHnCo/s1600/Cave-3.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5538299706719122850" src="http://3.bp.blogspot.com/_yxTInpTENfw/TNv-PXaktaI/AAAAAAAAAEE/O8NMSXtHnCo/s320/Cave-3.jpg" style="cursor: pointer; float: left; height: 168px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TMlV6OQIRfI/AAAAAAAAADk/0BNh3KX4zFo/s1600/Recep%C3%A7%C3%A3o.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5533048075947886066" src="http://4.bp.blogspot.com/_yxTInpTENfw/TMlV6OQIRfI/AAAAAAAAADk/0BNh3KX4zFo/s320/Recep%C3%A7%C3%A3o.jpg" style="cursor: pointer; float: left; height: 162px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TMAS_aJN16I/AAAAAAAAADc/AAzhiNMYvbs/s1600/Recep%C3%A7%C3%A3o-w.c.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5530441222970005410" src="http://1.bp.blogspot.com/_yxTInpTENfw/TMAS_aJN16I/AAAAAAAAADc/AAzhiNMYvbs/s320/Recep%C3%A7%C3%A3o-w.c.jpg" style="cursor: pointer; float: left; height: 162px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TNBKT7RKClI/AAAAAAAAAD0/EOn_A0rVPM4/s1600/CORREDOR-Pr%C3%A9+escola.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5535005648225962578" src="http://4.bp.blogspot.com/_yxTInpTENfw/TNBKT7RKClI/AAAAAAAAAD0/EOn_A0rVPM4/s320/CORREDOR-Pr%C3%A9+escola.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TQjbZVlXelI/AAAAAAAAAGU/iOGL20tpyhs/s1600/p6.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550927769071221330" src="http://3.bp.blogspot.com/_yxTInpTENfw/TQjbZVlXelI/AAAAAAAAAGU/iOGL20tpyhs/s320/p6.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_yxTInpTENfw/TRTnGCPnrmI/AAAAAAAAAGg/tGvXdBkAgEM/s1600/9.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5554318331322281570" src="http://2.bp.blogspot.com/_yxTInpTENfw/TRTnGCPnrmI/AAAAAAAAAGg/tGvXdBkAgEM/s320/9.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TPPj89ou57I/AAAAAAAAAE0/VZk7PLGGS08/s1600/5.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5545026202700277682" src="http://3.bp.blogspot.com/_yxTInpTENfw/TPPj89ou57I/AAAAAAAAAE0/VZk7PLGGS08/s320/5.jpg" style="cursor: pointer; float: left; height: 142px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_yxTInpTENfw/TQDs2B69BNI/AAAAAAAAAFM/WfcYdB5Pojw/s1600/P%25C3%25A1tios.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5548695153893246162" src="http://4.bp.blogspot.com/_yxTInpTENfw/TQDs2B69BNI/AAAAAAAAAFM/WfcYdB5Pojw/s320/P%25C3%25A1tios.jpg" style="cursor: pointer; float: left; height: 163px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TQeNI5cmgKI/AAAAAAAAAFs/3Kg0MMKgZGw/s1600/3.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550560249756680354" src="http://3.bp.blogspot.com/_yxTInpTENfw/TQeNI5cmgKI/AAAAAAAAAFs/3Kg0MMKgZGw/s320/3.jpg" style="cursor: pointer; float: left; height: 168px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TQDsVb3LRVI/AAAAAAAAAFE/MPETVciFtPs/s1600/Patio-exterior.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5548694593921041746" src="http://3.bp.blogspot.com/_yxTInpTENfw/TQDsVb3LRVI/AAAAAAAAAFE/MPETVciFtPs/s320/Patio-exterior.jpg" style="cursor: pointer; float: left; height: 163px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_yxTInpTENfw/TPPjjMnga0I/AAAAAAAAAEs/LSt177Rqw7w/s1600/3.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5545025760045067074" src="http://2.bp.blogspot.com/_yxTInpTENfw/TPPjjMnga0I/AAAAAAAAAEs/LSt177Rqw7w/s320/3.jpg" style="cursor: pointer; float: left; height: 146px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TQePuMt9OqI/AAAAAAAAAF8/O44i8Lniv24/s1600/p3.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550563089608161954" src="http://3.bp.blogspot.com/_yxTInpTENfw/TQePuMt9OqI/AAAAAAAAAF8/O44i8Lniv24/s320/p3.jpg" style="cursor: pointer; float: left; height: 142px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_yxTInpTENfw/TQDtHkVpfsI/AAAAAAAAAFU/KbNQgt5432Y/s1600/corredor-1%25C2%25BAAndar.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5548695455189794498" src="http://2.bp.blogspot.com/_yxTInpTENfw/TQDtHkVpfsI/AAAAAAAAAFU/KbNQgt5432Y/s320/corredor-1%25C2%25BAAndar.jpg" style="cursor: pointer; float: left; height: 163px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-4589936589489556377?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/4589936589489556377/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=4589936589489556377&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4589936589489556377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4589936589489556377'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2010/09/cresce-atl-pre-school.html' title='Creche-A.T.L.- Pré-Escola-1ºCiclo'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yxTInpTENfw/TQevjlI1WcI/AAAAAAAAAGM/lG32A_t5eFM/s72-c/8.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-4576339308106713746</id><published>2010-08-24T13:00:00.000+01:00</published><updated>2010-08-24T13:54:24.495+01:00</updated><title type='text'>Edifício de Habitação e comércio</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/THO1aRJyeEI/AAAAAAAAAA8/tXWuNZwsPYs/s1600/Ed-1.jpg"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-8743b4985268e56f" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v16.nonxt7.googlevideo.com/videoplayback?id%3D8743b4985268e56f%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1332288467%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D33D397B8CA147C120C4BF392A4574641C68E99FA.7606CC2E2BCD02214E15389C258BA6A42CB87740%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D8743b4985268e56f%26offsetms%3D5000%26itag%3Dw160%26sigh%3DrUfSOPgqD6Fbxan0vuCLsbD5QZ8&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v16.nonxt7.googlevideo.com/videoplayback?id%3D8743b4985268e56f%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1332288467%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D33D397B8CA147C120C4BF392A4574641C68E99FA.7606CC2E2BCD02214E15389C258BA6A42CB87740%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D8743b4985268e56f%26offsetms%3D5000%26itag%3Dw160%26sigh%3DrUfSOPgqD6Fbxan0vuCLsbD5QZ8&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/THPA7d-lXYI/AAAAAAAAABM/SpOhVuv9IZ0/s1600/Ed-4.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/THPA7d-lXYI/AAAAAAAAABM/SpOhVuv9IZ0/s320/Ed-4.jpg" alt="" id="BLOGGER_PHOTO_ID_5508958897096187266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/THO1aRJyeEI/AAAAAAAAAA8/tXWuNZwsPYs/s1600/Ed-1.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/THO1aRJyeEI/AAAAAAAAAA8/tXWuNZwsPYs/s320/Ed-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5508946232089933890" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/THPAsCSmBnI/AAAAAAAAABE/yz7FL_6AZUk/s1600/Ed-2.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/THPAsCSmBnI/AAAAAAAAABE/yz7FL_6AZUk/s320/Ed-2.jpg" alt="" id="BLOGGER_PHOTO_ID_5508958631965886066" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-4576339308106713746?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/4576339308106713746/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=4576339308106713746&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4576339308106713746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/4576339308106713746'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2010/08/edificio-de-habitacao-e-comercio.html' title='Edifício de Habitação e comércio'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_yxTInpTENfw/THPA7d-lXYI/AAAAAAAAABM/SpOhVuv9IZ0/s72-c/Ed-4.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-8717139754408338330</id><published>2010-08-19T14:24:00.001+01:00</published><updated>2011-07-19T17:51:04.806+01:00</updated><title type='text'>Warehouses - Olhão</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-AvZL6iYJzXA/TiW1oaRYT7I/AAAAAAAAANg/3Bj2woxsjE0/s1600/13.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-AvZL6iYJzXA/TiW1oaRYT7I/AAAAAAAAANg/3Bj2woxsjE0/s1600/13.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://2.bp.blogspot.com/-AvZL6iYJzXA/TiW1oaRYT7I/AAAAAAAAANg/3Bj2woxsjE0/s320/13.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-taIeKbPaToc/TiW1rKA6uMI/AAAAAAAAANk/EIiIpyZzNyI/s1600/14.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://1.bp.blogspot.com/-taIeKbPaToc/TiW1rKA6uMI/AAAAAAAAANk/EIiIpyZzNyI/s320/14.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-4Hpjm8tRjO0/TiW1ltfNFnI/AAAAAAAAANc/rzyzhg1Fx8I/s1600/11.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://1.bp.blogspot.com/-4Hpjm8tRjO0/TiW1ltfNFnI/AAAAAAAAANc/rzyzhg1Fx8I/s320/11.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_yxTInpTENfw/TG0wv532gcI/AAAAAAAAAAc/Xn7jUMags7A/s1600/Calapez.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_yxTInpTENfw/TG01u03Y_gI/AAAAAAAAAA0/eYWM9LoYrU8/s1600/7.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-8717139754408338330?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/8717139754408338330/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=8717139754408338330&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/8717139754408338330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/8717139754408338330'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2010/08/armazens-industriais.html' title='Warehouses - Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-AvZL6iYJzXA/TiW1oaRYT7I/AAAAAAAAANg/3Bj2woxsjE0/s72-c/13.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-3934327683459928324</id><published>2010-07-23T13:00:00.000+01:00</published><updated>2010-08-13T18:58:21.869+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Condiminio Privado para venda'/><title type='text'>Marina Quays</title><content type='html'>&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-1afecf6b99dc22b9" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v10.nonxt6.googlevideo.com/videoplayback?id%3D1afecf6b99dc22b9%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1332288467%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D6425958B3B5237FD42ED3372F2DDCFCD534B65FB.344D7E88A005BCDFC730D8F198240FFB574739BA%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D1afecf6b99dc22b9%26offsetms%3D5000%26itag%3Dw160%26sigh%3DGbl0OyCND8MVRX5Jn6iGNvKKyaE&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v10.nonxt6.googlevideo.com/videoplayback?id%3D1afecf6b99dc22b9%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1332288467%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D6425958B3B5237FD42ED3372F2DDCFCD534B65FB.344D7E88A005BCDFC730D8F198240FFB574739BA%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D1afecf6b99dc22b9%26offsetms%3D5000%26itag%3Dw160%26sigh%3DGbl0OyCND8MVRX5Jn6iGNvKKyaE&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Localizado em Olhão , na rua da Feira , insere-se&lt;br /&gt;numa zona da cidade em que a vista poente é&lt;br /&gt;dos maiores privilégios nesta parte do Algarve.&lt;br /&gt;O farol e a ria formosa como pano de fundo, contracenando&lt;br /&gt;com o pôr do sol, uma combinação única.&lt;br /&gt;                    projecto aprovado&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TGWG9kzd2AI/AAAAAAAAAAM/_Rpunl65jyc/s1600/M2.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TGWG9kzd2AI/AAAAAAAAAAM/_Rpunl65jyc/s320/M2.jpg" alt="" id="BLOGGER_PHOTO_ID_5504954511939983362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/TGWHbnI7dWI/AAAAAAAAAAU/94PuqaGGKE4/s1600/M3.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/TGWHbnI7dWI/AAAAAAAAAAU/94PuqaGGKE4/s320/M3.jpg" alt="" id="BLOGGER_PHOTO_ID_5504955027962951010" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-3934327683459928324?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/3934327683459928324/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=3934327683459928324&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/3934327683459928324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/3934327683459928324'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2010/07/marina-quays.html' title='Marina Quays'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yxTInpTENfw/TGWG9kzd2AI/AAAAAAAAAAM/_Rpunl65jyc/s72-c/M2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-116845657607867337</id><published>2007-01-10T18:57:00.000Z</published><updated>2010-09-01T14:44:43.843+01:00</updated><title type='text'>Moradia Unifamiliar-Olhão</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/THfjrjyftGI/AAAAAAAAAB0/qWJv342t734/s1600/Moradia+T4-5.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/THfjrjyftGI/AAAAAAAAAB0/qWJv342t734/s320/Moradia+T4-5.jpg" alt="" id="BLOGGER_PHOTO_ID_5510123006592005218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5550/2506/1600/372623/3d-moradia%20t4-5.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px;" alt="" src="http://photos1.blogger.com/x/blogger/5550/2506/320/281192/3d-moradia%20t4-5.jpg" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/THVbHsPG9zI/AAAAAAAAABs/aPCkoOxNW98/s1600/Moradia+T4-2.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/THVbHsPG9zI/AAAAAAAAABs/aPCkoOxNW98/s320/Moradia+T4-2.jpg" alt="" id="BLOGGER_PHOTO_ID_5509409906849412914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5550/2506/1600/469589/3d-moradia%20t4-10.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px;" alt="" src="http://photos1.blogger.com/x/blogger/5550/2506/320/803763/3d-moradia%20t4-10.jpg" border="0" /&gt;&lt;/a&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5550/2506/1600/102870/3d-moradia%20t4-2.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px;" alt="" src="http://photos1.blogger.com/x/blogger/5550/2506/320/277039/3d-moradia%20t4-2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yxTInpTENfw/THVaXiUmQqI/AAAAAAAAABk/Djk0PwZSYrk/s1600/Moradia+T4-1.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://4.bp.blogspot.com/_yxTInpTENfw/THVaXiUmQqI/AAAAAAAAABk/Djk0PwZSYrk/s320/Moradia+T4-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5509409079554359970" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yxTInpTENfw/TH5YaJvW_mI/AAAAAAAAACM/baM5gXtS5C8/s1600/Moradia+T4-8.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://3.bp.blogspot.com/_yxTInpTENfw/TH5YaJvW_mI/AAAAAAAAACM/baM5gXtS5C8/s320/Moradia+T4-8.jpg" alt="" id="BLOGGER_PHOTO_ID_5511940200262467170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5550/2506/1600/176664/3d-moradia%20t4-11.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px;" alt="" src="http://photos1.blogger.com/x/blogger/5550/2506/320/217703/3d-moradia%20t4-11.jpg" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/TH5Yo0SxUlI/AAAAAAAAACU/qLj0zsxK6cI/s1600/Moradia+T4-9.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/TH5Yo0SxUlI/AAAAAAAAACU/qLj0zsxK6cI/s320/Moradia+T4-9.jpg" alt="" id="BLOGGER_PHOTO_ID_5511940452203450962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5550/2506/1600/579129/3d-moradia%20t4-15.jpg"&gt;&lt;img style="float: left; margin: 0px 10px 10px 0px;" alt="" src="http://photos1.blogger.com/x/blogger/5550/2506/320/581124/3d-moradia%20t4-15.jpg" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yxTInpTENfw/THfj-07kBtI/AAAAAAAAAB8/_2kxe1k0Wd0/s1600/Moradia+T4-6.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://1.bp.blogspot.com/_yxTInpTENfw/THfj-07kBtI/AAAAAAAAAB8/_2kxe1k0Wd0/s320/Moradia+T4-6.jpg" alt="" id="BLOGGER_PHOTO_ID_5510123337610954450" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/THVLlX5F0GI/AAAAAAAAABU/b0Fo0KR-lh4/s1600/Moradia+T4-3.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/THVLlX5F0GI/AAAAAAAAABU/b0Fo0KR-lh4/s320/Moradia+T4-3.jpg" alt="" id="BLOGGER_PHOTO_ID_5509392824598384738" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yxTInpTENfw/THVaCx5TLXI/AAAAAAAAABc/C3kf__FIPcA/s1600/Moradia+T4-4.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 167px;" src="http://2.bp.blogspot.com/_yxTInpTENfw/THVaCx5TLXI/AAAAAAAAABc/C3kf__FIPcA/s320/Moradia+T4-4.jpg" alt="" id="BLOGGER_PHOTO_ID_5509408722957577586" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-116845657607867337?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/116845657607867337/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=116845657607867337&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/116845657607867337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/116845657607867337'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2007/01/moradia-unifamiliar-olho.html' title='Moradia Unifamiliar-Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yxTInpTENfw/THfjrjyftGI/AAAAAAAAAB0/qWJv342t734/s72-c/Moradia+T4-5.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-116367752355934629</id><published>2006-11-16T11:36:00.001Z</published><updated>2011-07-05T13:07:21.551+01:00</updated><title type='text'>DECOR</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20-deck3.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20-deck3.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20-deck.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20-deck.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20exterior-6.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20exterior-6.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrel-10.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrel-10.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20exterior-3.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20exterior-3.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20badroom4.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20badroom4.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Lady%20Farrell%20badroom8.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/Lady%20Farrell%20badroom8.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-116367752355934629?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/116367752355934629/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=116367752355934629&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/116367752355934629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/116367752355934629'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/11/lady-sue-farrell-cambridge-england.html' title='DECOR'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115888277806811462</id><published>2006-09-22T00:44:00.000+01:00</published><updated>2006-09-22T00:52:59.513+01:00</updated><title type='text'>TurOlhão</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01953.0.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01953.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115888277806811462?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115888277806811462/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115888277806811462&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115888277806811462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115888277806811462'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/09/turolho.html' title='TurOlhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115887888168141245</id><published>2006-09-21T23:37:00.000+01:00</published><updated>2006-09-21T23:48:01.770+01:00</updated><title type='text'>Turmarim</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01959.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01959.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115887888168141245?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115887888168141245/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115887888168141245&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115887888168141245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115887888168141245'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/09/turmarim.html' title='Turmarim'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115887816433734983</id><published>2006-09-21T23:35:00.000+01:00</published><updated>2006-09-21T23:36:08.743+01:00</updated><title type='text'>Moradia Unifamiliar-Olhão</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01951.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01951.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115887816433734983?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115887816433734983/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115887816433734983&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115887816433734983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115887816433734983'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/09/moradia-unifamiliar-olho.html' title='Moradia Unifamiliar-Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115886573208584080</id><published>2006-09-21T20:08:00.000+01:00</published><updated>2006-09-21T20:08:53.503+01:00</updated><title type='text'>Localização-Fuzeta Ria Lda.</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/FUZETA%2009.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/FUZETA%2009.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/FUZETA%2011.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/FUZETA%2011.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/Maquete.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/Maquete.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115886573208584080?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115886573208584080/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115886573208584080&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115886573208584080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115886573208584080'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/09/localizao-fuzeta-ria-lda.html' title='Localização-Fuzeta Ria Lda.'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115886159948648731</id><published>2006-09-21T18:59:00.000+01:00</published><updated>2006-09-21T19:00:10.643+01:00</updated><title type='text'>Moradias-Fuzeta Ria Lda.</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/FUZETA%2005.0.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/FUZETA%2005.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/FUZETA%2006.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/FUZETA%2006.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/FUZETA%2003.1.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/FUZETA%2003.1.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115886159948648731?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115886159948648731/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115886159948648731&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115886159948648731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115886159948648731'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/09/moradias-fuzeta-ria-lda.html' title='Moradias-Fuzeta Ria Lda.'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115201909029092958</id><published>2006-07-04T14:03:00.001+01:00</published><updated>2011-07-19T16:57:40.454+01:00</updated><title type='text'>Apartments/Shops - Olhão</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-lwsTKlYlTcg/TiWmoqz2TcI/AAAAAAAAAMU/71kjhIIg_g0/s1600/DSC04002.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-lwsTKlYlTcg/TiWmoqz2TcI/AAAAAAAAAMU/71kjhIIg_g0/s320/DSC04002.JPG" width="320" /&gt;&lt;/a&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem1.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem4.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem5.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem11.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-RKGpXEXUNfo/TiWljpDf4-I/AAAAAAAAAMI/NjzmDVCrFHM/s1600/DSC03999.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-RKGpXEXUNfo/TiWljpDf4-I/AAAAAAAAAMI/NjzmDVCrFHM/s320/DSC03999.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-3YypN_cJRW8/TiWmQ3vu1TI/AAAAAAAAAMQ/fb3JzflhXzk/s1600/DSC04001.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-1umQXv-K_bM/TiWovIjONKI/AAAAAAAAAMo/037qz-rLlC8/s1600/DSC04001.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-1umQXv-K_bM/TiWovIjONKI/AAAAAAAAAMo/037qz-rLlC8/s320/DSC04001.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-3YypN_cJRW8/TiWmQ3vu1TI/AAAAAAAAAMQ/fb3JzflhXzk/s1600/DSC04001.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem10.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/imagem9.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115201909029092958?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115201909029092958/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115201909029092958&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115201909029092958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115201909029092958'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/07/edificio-habitacional-olho.html' title='Apartments/Shops - Olhão'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-lwsTKlYlTcg/TiWmoqz2TcI/AAAAAAAAAMU/71kjhIIg_g0/s72-c/DSC04002.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-115108214769557638</id><published>2006-06-23T18:01:00.003+01:00</published><updated>2011-07-05T13:10:56.245+01:00</updated><title type='text'>Moradia Unifamiliar-TAVIRA</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/14.0.jpg"&gt;&lt;br /&gt;&lt;/a&gt; &lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01931.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01931.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01932.jpg"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01932.jpg" style="cursor: hand; float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-115108214769557638?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/115108214769557638/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=115108214769557638&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115108214769557638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/115108214769557638'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/06/moradia-unifamiliar-tavira.html' title='Moradia Unifamiliar-TAVIRA'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-114590384902252015</id><published>2006-04-24T19:33:00.000+01:00</published><updated>2006-09-21T23:09:55.236+01:00</updated><title type='text'>MORADIA UNIFAMILIAR-Moncarapacho</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana7.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana7.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana1.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana2.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana3.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana4.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana5.0.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana5.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5550/2506/1600/ana6.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/ana6.jpg" border="0" /&gt;&lt;/a&gt; &lt;a href="http://photos1.blogger.com/blogger/5550/2506/1600/DSC01925.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/DSC01925.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-114590384902252015?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/114590384902252015/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=114590384902252015&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114590384902252015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114590384902252015'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/04/moradia-unifamiliar-moncarapacho_24.html' title='MORADIA UNIFAMILIAR-Moncarapacho'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-114546423988281482</id><published>2006-04-19T17:21:00.000+01:00</published><updated>2006-04-20T13:12:05.576+01:00</updated><title type='text'>Moradia Unifamiliar-Moncarapacho</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/casa%20Sergio%2001.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/casa%20Sergio%2001.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/casa%20Sergio%2002.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; HEIGHT: 147px" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/casa%20Sergio%2002.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;img style="BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; BACKGROUND: 0% 50%; PADDING-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" alt="Posted by Picasa" src="http://photos1.blogger.com/pbp.gif" align="middle" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-114546423988281482?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/114546423988281482/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=114546423988281482&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114546423988281482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114546423988281482'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/04/moradia-unifamiliar-moncarapacho.html' title='Moradia Unifamiliar-Moncarapacho'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-114546287941396417</id><published>2006-04-19T17:07:00.000+01:00</published><updated>2006-04-19T17:07:59.420+01:00</updated><title type='text'>Moradia Unifamiliar</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/3D%20View%204.jpg"&gt;&lt;img style="CLEAR: all; FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%204.jpg" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/3D%20View%205.jpg"&gt;&lt;img style="CLEAR: all; FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%205.jpg" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href='http://picasa.google.com/blogger/' target='ext'&gt;&lt;img src='http://photos1.blogger.com/pbp.gif' alt='Posted by Picasa' style='border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;' align='middle' border='0' /&gt;&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-114546287941396417?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/114546287941396417/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=114546287941396417&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114546287941396417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114546287941396417'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/04/moradia-unifamiliar.html' title='Moradia Unifamiliar'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24200216.post-114321852405105900</id><published>2006-03-24T16:40:00.003Z</published><updated>2011-07-19T17:20:30.671+01:00</updated><title type='text'>TownHouses-Loulé</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/3D%20View%2012.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/3D%20View%2014.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%2014.jpg" style="float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/640/3D%20View%2013.jpg" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%2013.jpg" style="float: left; margin: 0px 10px 10px 0px;" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/-qFbKWsoedUo/TiWqpoGADOI/AAAAAAAAAMs/IfLEhighEEY/s1600/DSC03991.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%2012.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="" border="0" src="http://photos1.blogger.com/blogger/5550/2506/320/3D%20View%2012.jpg" style="margin-top: 0px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-qFbKWsoedUo/TiWqpoGADOI/AAAAAAAAAMs/IfLEhighEEY/s1600/DSC03991.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-qFbKWsoedUo/TiWqpoGADOI/AAAAAAAAAMs/IfLEhighEEY/s320/DSC03991.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-9YjqVH6AsYw/TiWrCADF5eI/AAAAAAAAAMw/Bace1OOQ-Kw/s1600/DSC03992.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-9YjqVH6AsYw/TiWrCADF5eI/AAAAAAAAAMw/Bace1OOQ-Kw/s320/DSC03992.JPG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-P7qiIyT3gXY/TiWrZCnZZRI/AAAAAAAAAM0/exEY90UNfls/s1600/DSC03993.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-P7qiIyT3gXY/TiWrZCnZZRI/AAAAAAAAAM0/exEY90UNfls/s320/DSC03993.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-sULo2CDVQ_U/TiWrwYFr9sI/AAAAAAAAAM4/x_UgT5hoqSs/s1600/DSC03994.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-sULo2CDVQ_U/TiWrwYFr9sI/AAAAAAAAAM4/x_UgT5hoqSs/s320/DSC03994.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-CErRGDEEl8c/TiWsHHElkwI/AAAAAAAAAM8/JtMw3Hs_xXQ/s1600/DSC03995.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-CErRGDEEl8c/TiWsHHElkwI/AAAAAAAAAM8/JtMw3Hs_xXQ/s320/DSC03995.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-vIqkM2e3BGM/TiWsdiiwJnI/AAAAAAAAANA/K6QXxCb8Jl0/s1600/DSC03996.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-vIqkM2e3BGM/TiWsdiiwJnI/AAAAAAAAANA/K6QXxCb8Jl0/s320/DSC03996.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-bCFm5SZFQ-s/TiWsyLCuHWI/AAAAAAAAANE/DQiM8PjH73o/s1600/DSC03997.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-bCFm5SZFQ-s/TiWsyLCuHWI/AAAAAAAAANE/DQiM8PjH73o/s320/DSC03997.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-9Sggl3xSPkM/TiWtGYawZUI/AAAAAAAAANI/AtgDVj5mLFE/s1600/DSC03998.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-9Sggl3xSPkM/TiWtGYawZUI/AAAAAAAAANI/AtgDVj5mLFE/s320/DSC03998.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;img align="middle" alt="Posted by Picasa" border="0" src="http://photos1.blogger.com/pbp.gif" style="-moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; background: transparent none repeat scroll 0% 50%; border: 0px none; padding: 0px;" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;?php

  header("Content-type: application/xml");

  $firstdiv = 1;

  foreach (file('atom.xml') as $line) {

    if (strstr($line, '&lt;?xml-stylesheet ') == $line) {
      $line = str_replace('www.blogger.com/styles','www.atomenabled.org/css',$line);

    } else if (strstr($line, '&lt;feed') == $line) {
      $line = str_replace('version="0.3" ','',$line);
      $line = str_replace('http://purl.org/atom/ns#','http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;link') == $line) {
      if (strstr($line, ' rel="service.')) continue;
      $line = str_replace(' title=""','',$line);

    } else if (strstr($line, '&lt;title') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);

    } else if (strstr($line, '&lt;tagline') == $line) {
      $line = str_replace('mode="escaped" type="text/html"','type="html"',$line);
      $line = str_replace('&lt;tagline ','&lt;subtitle ',$line);
      $line = str_replace('tagline&gt;','subtitle&gt;',$line);
      echo $line;
      $line = "&lt;link href=\"http://$_SERVER[SERVER_NAME]/atom.php\" rel=\"self\"/&gt;\n";

    } else if (strstr($line, '&lt;modified') == $line) {
      $line = str_replace('&lt;modified ','&lt;updated ',$line);
      $line = str_replace('modified&gt;','updated&gt;',$line);

    } else if (strstr($line, '&lt;generator') == $line) {
      $line = str_replace(' url="',' uri="',$line);

    } else if (strstr($line, '&lt;info') == $line) {
      continue;

    } else if (strstr($line, '&lt;div ') == $line) {
      if ($firstdiv) {
        if (strstr($line, 'class="info"') == "") {
          $line = str_replace('&lt;div ','&lt;div class="info" ',$line);
        }
        $firstdiv = 0;
      }

    } else if (strstr($line, '&lt;/info') == $line) {
      continue;

    } else if (strstr($line, '&lt;entry ') == $line) {
      $line = str_replace('http://purl.org/atom/ns#',
        'http://www.w3.org/2005/Atom',$line);

    } else if (strstr($line, '&lt;issued') == $line) {
      $line = str_replace('&lt;issued ','&lt;published ',$line);
      $line = str_replace('issued&gt;','published&gt;',$line);

    } else if (strstr($line, '&lt;created') == $line) {
      continue;

    } else if (strstr($line, '&lt;content') == $line) {
      $line = str_replace('mode="escaped" type="text/html"',
        'type="html"',$line);
      $line = str_replace('type="application/xhtml+xml"',
        'type="xhtml"',$line);

    }

    echo $line;
  }
?&gt;

&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24200216-114321852405105900?l=www.brunobernardes.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.brunobernardes.com/feeds/114321852405105900/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24200216&amp;postID=114321852405105900&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114321852405105900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24200216/posts/default/114321852405105900'/><link rel='alternate' type='text/html' href='http://www.brunobernardes.com/2006/03/moradias-geminadas-loul.html' title='TownHouses-Loulé'/><author><name>Bruno Bernardes</name><uri>http://www.blogger.com/profile/09465026199120114415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-qFbKWsoedUo/TiWqpoGADOI/AAAAAAAAAMs/IfLEhighEEY/s72-c/DSC03991.JPG' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
