SlideShare une entreprise Scribd logo
1  sur  28
eZ Publish  Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand :  info@gandbox.fr  Gilles Guirand http://www.gandbox.fr  webmaster Technical Director /  Kaliop eZ International Winter Conference 2010 Summary
eZ Publish  Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],eZ International Winter Conference 2010 Summary
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Gilles Guirand :  info@gandbox.fr  Demo :   http://www.gandbox.fr/ma-Cave/   About gandbox.fr Note : You can play with useless geek tools like drag & drop, changing the stylesheet
eZ Publish  Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],eZ International Winter Conference 2010 Summary
Gilles Guirand :  info@gandbox.fr  Demo :   http://www.gandbox.fr/ma-Cave/(sortby)/localisation   Working with Google Maps  / What I need ? Set 1 location for each domain Display multiple domains locations on a same view  (using a cluster Markers lib) Working with Google Maps
Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],Working with Google Maps ,[object Object],[object Object],[object Object],[object Object],[object Object]
Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],Working with Google Maps 1. Google maps search 2. Auto Long / Lat setting Advice :  override the edit.tpl template  extension/[ mon_extension ]/design/standard/templates/content/datatype/edit/ezgmaplocation.tpl Enhance the default features using Google maps API (add controls…)
Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],Working with Google Maps {  include  uri=' design:gmap/gmap.tpl ‘ locations  =  $nodes_location_list   location_attribute = 'localisation' size =array(600,400) center =array( $node.data_map.localisation.content.latitude,    $node.data_map.localisation.content.longitude ) show_popups_on_page=false() zoom=$node.data_map.zoom.content }  Domain.tpl Custom zoom attribute Include  gmap.tpl Region.tpl Include  gmap.tpl Allwines.tpl Include  gmap.tpl Search.tpl Include  gmap.tpl 1 location N locations N locations N results / locations Locations Array
Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],[object Object],Working with Google Maps { foreach   $node_list  as  $node } {if $node.data_map.localisation.content.latitude|ne('')} { set   $nodes_location_list  =  $nodes_location_list |append(  $node  )} {/if} {/ foreach }  Exclude empty locations {  include  uri=' design:gmap/gmap.tpl ‘ locations  =  $nodes_location_list   … }
Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Working with Google Maps
eZ Publish  Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],eZ International Winter Conference 2010 Summary
About the “ UWA ” FrameWork :  http://dev.netvibes.com/   Gilles Guirand :  info@gandbox.fr  Demo :   http://www.gandbox.fr/   (add widgets by clicking on the  right box )  Building an UWA Widget (Netvibes / iGoogle) A  Netvibes  FrameWork : Universal Widget API (UWA) Concept :  Write once, run everywhere Languages :  xHTML / CSS / JavaScript (AJAX) Others… (not tested) Vista / Apple / iPhone / WordPress / …
Add my Widget on iGoogle / Netvibes Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Add on Netvibes  Add on iGoogle
Widget features :  Last posts & comments   Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Last comments, from a  custom RSS Last  blog posts , from a  custom RSS Set options :  RSS Feeds, number of full view items, number of short view items…
Widget features :  My personal wine cellar (full AJAX features) Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Wine cellar home page : Browse by region, last buying, searching… Domain view : Description, wine list Wine view : description, color, rating, stock, price…
How  UWA  works ? Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) http://www.google.com/ig/adde?moduleurl= nvmodules.netvibes.com/widget/gspec%3FuwaUrl%3D http%253A%252F%252Fwww.gandbox.fr%252Fmywidget%252Fgandbox_V1.0.html ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Build your  UWA  Widget : http://www.gandbox.fr/mywidget/gandbox_V1.0.html   Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle)
Use the  UWA  JavaScript FrameWork : Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Working with tabs Working with generic RSS
Working with  AJAX  and  eZ Publish  module calls Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) eZ Publish module URL Callback  function Generate AJAX linking this dataprocessor set a recursive AJAX linking. If the 'ajax' CSS class is found,  the script transforms all your default ez publish links by any AJAX call links Class selector ‘ ajax ’ means : AJAX link to generate On submit  search  event
Build the  eZ Publish  module :  URL calls Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) PHP  Ajax proxy  for your development mode : _URL_PROXY = 'http://localhost/html/widget/ajaxProxy.php?url=‘; Absolute path :  http://www.gandbox.fr ,[object Object],[object Object],[object Object],[object Object],[object Object],AJAX Proxy ?  http://www.gandbox.fr/widget/action/search/gassac/
Build the  eZ Publish  module :  module definition Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Faire-un-Widget-Netvibes-iGoogle-avec-UWA-AJAX-eZ-Publish-La-couche-eZ-Publish-Partie-2   Load your  widget search template result Load your  widget pagelayout
Build the  eZ Publish  module :  search template exemple Gilles Guirand :  info@gandbox.fr  Building an UWA Widget (Netvibes / iGoogle) Get full path URL … … Set your CSS Class for your JavaScript selector  Build your module URL call Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Faire-un-Widget-Netvibes-iGoogle-avec-UWA-AJAX-eZ-Publish-La-couche-eZ-Publish-Partie-2
eZ Publish  Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand :  info@gandbox.fr  ,[object Object],[object Object],[object Object],[object Object],eZ International Winter Conference 2010 Summary
Building a custom RSS (by keyword) :  create your content class Gilles Guirand :  info@gandbox.fr  Building a custom RSS Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish   Add your custom attributes if needed Set your  3 templates overrides  :  RSS Pagelayout Full view (items list) link view Text line Limit Text line Description Text line Title   Datatype Attribute
Building a custom RSS (by keyword) :  create your templates Gilles Guirand :  info@gandbox.fr  Building a custom RSS Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish   Rss_pagelayout.tpl : Debug  XML escape Rss_full.tpl : Full URL Path Keyword fetching Ezrssdate template operator
Building a custom RSS (by keyword) :  create your templates Gilles Guirand :  info@gandbox.fr  Building a custom RSS Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish   Rss_link.tpl : Full path :  http://www.gandbox.fr Ezrssdate template operator : Pattern : Wed, 21 Jan 2010 15:30:00 +0000
Building a custom RSS (by keyword) :  result Gilles Guirand :  info@gandbox.fr  Building a custom RSS Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish   http://www.gandbox.fr/rss2/(tag)/eZ%20Publish
Any (french) questions ? Gilles Guirand :  info@gandbox.fr  Building a custom RSS Full code exemple :  http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish

Contenu connexe

Tendances

Automating Drupal Development: Makefiles, features and beyond
Automating Drupal Development: Makefiles, features and beyondAutomating Drupal Development: Makefiles, features and beyond
Automating Drupal Development: Makefiles, features and beyond
Nuvole
 

Tendances (9)

Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)Introduction to Module Development (Drupal 7)
Introduction to Module Development (Drupal 7)
 
Automating Drupal Development: Makefiles, features and beyond
Automating Drupal Development: Makefiles, features and beyondAutomating Drupal Development: Makefiles, features and beyond
Automating Drupal Development: Makefiles, features and beyond
 
Custom Forms and Configuration Forms in Drupal 8
Custom Forms and Configuration Forms in Drupal 8Custom Forms and Configuration Forms in Drupal 8
Custom Forms and Configuration Forms in Drupal 8
 
Things I wish I'd known - AtoM tips, tricks, and gotchas
Things I wish I'd known - AtoM tips, tricks, and gotchasThings I wish I'd known - AtoM tips, tricks, and gotchas
Things I wish I'd known - AtoM tips, tricks, and gotchas
 
Drupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed WorkflowDrupal 8 CMI on a Managed Workflow
Drupal 8 CMI on a Managed Workflow
 
ACADGILD:: HADOOP LESSON
ACADGILD:: HADOOP LESSON ACADGILD:: HADOOP LESSON
ACADGILD:: HADOOP LESSON
 
Evolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal communityEvolution of Drupal and the Drupal community
Evolution of Drupal and the Drupal community
 
Drupal in 30 Minutes
Drupal in 30 MinutesDrupal in 30 Minutes
Drupal in 30 Minutes
 
Web Standards
Web StandardsWeb Standards
Web Standards
 

En vedette

Workshop eZ Publish Caching Mechanisms
Workshop eZ Publish Caching MechanismsWorkshop eZ Publish Caching Mechanisms
Workshop eZ Publish Caching Mechanisms
Kaliop-slide
 
Redeploiement d’une plateforme eZpublish multisites internationale
Redeploiement d’une plateforme eZpublish multisites internationaleRedeploiement d’une plateforme eZpublish multisites internationale
Redeploiement d’une plateforme eZpublish multisites internationale
Kaliop-slide
 

En vedette (6)

Tour de Contrôle (Kaliop E-Commerce Dataflow System)
Tour de Contrôle (Kaliop E-Commerce Dataflow System)Tour de Contrôle (Kaliop E-Commerce Dataflow System)
Tour de Contrôle (Kaliop E-Commerce Dataflow System)
 
Workshop eZ Publish Caching Mechanisms
Workshop eZ Publish Caching MechanismsWorkshop eZ Publish Caching Mechanisms
Workshop eZ Publish Caching Mechanisms
 
eZ Publish Caching Mechanisms
eZ Publish Caching MechanismseZ Publish Caching Mechanisms
eZ Publish Caching Mechanisms
 
2013.04.23 eZ Sessions 6 - Migrating legacy eZ Publish extensions - Lukasz Se...
2013.04.23 eZ Sessions 6 - Migrating legacy eZ Publish extensions - Lukasz Se...2013.04.23 eZ Sessions 6 - Migrating legacy eZ Publish extensions - Lukasz Se...
2013.04.23 eZ Sessions 6 - Migrating legacy eZ Publish extensions - Lukasz Se...
 
Redeploiement d’une plateforme eZpublish multisites internationale
Redeploiement d’une plateforme eZpublish multisites internationaleRedeploiement d’une plateforme eZpublish multisites internationale
Redeploiement d’une plateforme eZpublish multisites internationale
 
How we Started with eZ publish 5 a Real Use Case
How we Started with eZ publish 5 a Real Use CaseHow we Started with eZ publish 5 a Real Use Case
How we Started with eZ publish 5 a Real Use Case
 

Similaire à Ez Community Gandbox.fr

DIY- computer vision with GWT
DIY- computer vision with GWTDIY- computer vision with GWT
DIY- computer vision with GWT
Francesca Tosi
 
Introduction to Google Web Toolkit
Introduction to Google Web ToolkitIntroduction to Google Web Toolkit
Introduction to Google Web Toolkit
Didier Girard
 
Google Dev Day2007
Google Dev Day2007Google Dev Day2007
Google Dev Day2007
lucclaes
 
CiklumJavaSat15112011:Andrew Mormysh-GWT features overview
CiklumJavaSat15112011:Andrew Mormysh-GWT features overviewCiklumJavaSat15112011:Andrew Mormysh-GWT features overview
CiklumJavaSat15112011:Andrew Mormysh-GWT features overview
Ciklum Ukraine
 
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Esri Nederland
 
Innovative AdMedia Design with Google Gadgets
Innovative AdMedia Design with Google GadgetsInnovative AdMedia Design with Google Gadgets
Innovative AdMedia Design with Google Gadgets
auexpo Conference
 

Similaire à Ez Community Gandbox.fr (20)

Take Your Angular App Glamping
Take Your Angular App GlampingTake Your Angular App Glamping
Take Your Angular App Glamping
 
Google Map Code
Google Map CodeGoogle Map Code
Google Map Code
 
Code to Add Google Map to Websites
Code to Add Google Map to WebsitesCode to Add Google Map to Websites
Code to Add Google Map to Websites
 
DIY: Computer Vision with GWT.
DIY: Computer Vision with GWT.DIY: Computer Vision with GWT.
DIY: Computer Vision with GWT.
 
DIY- computer vision with GWT
DIY- computer vision with GWTDIY- computer vision with GWT
DIY- computer vision with GWT
 
Introduction to Google Web Toolkit
Introduction to Google Web ToolkitIntroduction to Google Web Toolkit
Introduction to Google Web Toolkit
 
Google Dev Day2007
Google Dev Day2007Google Dev Day2007
Google Dev Day2007
 
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google CloudIntroduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
 
Javascript, the GNOME way (JSConf EU 2011)
Javascript, the GNOME way (JSConf EU 2011)Javascript, the GNOME way (JSConf EU 2011)
Javascript, the GNOME way (JSConf EU 2011)
 
GWT + Gears : The browser is the platform
GWT + Gears : The browser is the platformGWT + Gears : The browser is the platform
GWT + Gears : The browser is the platform
 
CiklumJavaSat15112011:Andrew Mormysh-GWT features overview
CiklumJavaSat15112011:Andrew Mormysh-GWT features overviewCiklumJavaSat15112011:Andrew Mormysh-GWT features overview
CiklumJavaSat15112011:Andrew Mormysh-GWT features overview
 
Jsf2 html5-jazoon
Jsf2 html5-jazoonJsf2 html5-jazoon
Jsf2 html5-jazoon
 
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
 
Innovative AdMedia Design with Google Gadgets
Innovative AdMedia Design with Google GadgetsInnovative AdMedia Design with Google Gadgets
Innovative AdMedia Design with Google Gadgets
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Gmaps Railscamp2008
Gmaps Railscamp2008Gmaps Railscamp2008
Gmaps Railscamp2008
 
WebGL, HTML5 and How the Mobile Web Was Won
WebGL, HTML5 and How the Mobile Web Was WonWebGL, HTML5 and How the Mobile Web Was Won
WebGL, HTML5 and How the Mobile Web Was Won
 
Building a dashboard using AngularJS
Building a dashboard using AngularJSBuilding a dashboard using AngularJS
Building a dashboard using AngularJS
 
Php on the Web and Desktop
Php on the Web and DesktopPhp on the Web and Desktop
Php on the Web and Desktop
 
Front End Development for Back End Java Developers - Jfokus 2020
Front End Development for Back End Java Developers - Jfokus 2020Front End Development for Back End Java Developers - Jfokus 2020
Front End Development for Back End Java Developers - Jfokus 2020
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Ez Community Gandbox.fr

  • 1. eZ Publish Blog posts compilation : Netvibes / iGoogle widget, custom RSS, google maps & others tips… Gilles Guirand : info@gandbox.fr Gilles Guirand http://www.gandbox.fr webmaster Technical Director / Kaliop eZ International Winter Conference 2010 Summary
  • 2.
  • 3.
  • 4.
  • 5. Gilles Guirand : info@gandbox.fr Demo : http://www.gandbox.fr/ma-Cave/(sortby)/localisation Working with Google Maps / What I need ? Set 1 location for each domain Display multiple domains locations on a same view (using a cluster Markers lib) Working with Google Maps
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. About the “ UWA ” FrameWork : http://dev.netvibes.com/ Gilles Guirand : info@gandbox.fr Demo : http://www.gandbox.fr/ (add widgets by clicking on the right box ) Building an UWA Widget (Netvibes / iGoogle) A Netvibes FrameWork : Universal Widget API (UWA) Concept : Write once, run everywhere Languages : xHTML / CSS / JavaScript (AJAX) Others… (not tested) Vista / Apple / iPhone / WordPress / …
  • 13. Add my Widget on iGoogle / Netvibes Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Add on Netvibes Add on iGoogle
  • 14. Widget features : Last posts & comments Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Last comments, from a custom RSS Last blog posts , from a custom RSS Set options : RSS Feeds, number of full view items, number of short view items…
  • 15. Widget features : My personal wine cellar (full AJAX features) Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Wine cellar home page : Browse by region, last buying, searching… Domain view : Description, wine list Wine view : description, color, rating, stock, price…
  • 16.
  • 17. Build your UWA Widget : http://www.gandbox.fr/mywidget/gandbox_V1.0.html Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle)
  • 18. Use the UWA JavaScript FrameWork : Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Working with tabs Working with generic RSS
  • 19. Working with AJAX and eZ Publish module calls Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) eZ Publish module URL Callback function Generate AJAX linking this dataprocessor set a recursive AJAX linking. If the 'ajax' CSS class is found, the script transforms all your default ez publish links by any AJAX call links Class selector ‘ ajax ’ means : AJAX link to generate On submit search event
  • 20.
  • 21. Build the eZ Publish module : module definition Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Faire-un-Widget-Netvibes-iGoogle-avec-UWA-AJAX-eZ-Publish-La-couche-eZ-Publish-Partie-2 Load your widget search template result Load your widget pagelayout
  • 22. Build the eZ Publish module : search template exemple Gilles Guirand : info@gandbox.fr Building an UWA Widget (Netvibes / iGoogle) Get full path URL … … Set your CSS Class for your JavaScript selector Build your module URL call Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Faire-un-Widget-Netvibes-iGoogle-avec-UWA-AJAX-eZ-Publish-La-couche-eZ-Publish-Partie-2
  • 23.
  • 24. Building a custom RSS (by keyword) : create your content class Gilles Guirand : info@gandbox.fr Building a custom RSS Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish Add your custom attributes if needed Set your 3 templates overrides : RSS Pagelayout Full view (items list) link view Text line Limit Text line Description Text line Title Datatype Attribute
  • 25. Building a custom RSS (by keyword) : create your templates Gilles Guirand : info@gandbox.fr Building a custom RSS Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish Rss_pagelayout.tpl : Debug XML escape Rss_full.tpl : Full URL Path Keyword fetching Ezrssdate template operator
  • 26. Building a custom RSS (by keyword) : create your templates Gilles Guirand : info@gandbox.fr Building a custom RSS Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish Rss_link.tpl : Full path : http://www.gandbox.fr Ezrssdate template operator : Pattern : Wed, 21 Jan 2010 15:30:00 +0000
  • 27. Building a custom RSS (by keyword) : result Gilles Guirand : info@gandbox.fr Building a custom RSS Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish http://www.gandbox.fr/rss2/(tag)/eZ%20Publish
  • 28. Any (french) questions ? Gilles Guirand : info@gandbox.fr Building a custom RSS Full code exemple : http://www.gandbox.fr/Blogs/Technologies-Web/Un-flux-RSS-par-Keyword-ou-autre-sur-eZ-Publish