Try now Demo en
  • en
  • fr
  • de
  • Product
    • Platform
      • Software TourFeatures & capabilities overview
      • Why eXoeXo Platform key differentiators
      • InternationalisationSupporting multilingual environments
      • MobileResponsive & available on any device
    • Technology
      • No CodeTailor eXo platform to your needs
      • ArchitectureAn overview of eXo Platform technology
      • IntegrationsAvailable connectors & integration capabilities
      • SecurityeXo Platform security measures
      • Open sourceComponents & licensing
  • Solutions
    • Communication
      • Modern IntranetBuild your company culture
      • Knowledge managementCentralize and share your company knowledge
      • Community managementEngage your community
      • ExtranetInvolve your clients and partners
    • Collaboration
      • Social NetworkConnect all your employees
      • Collaboration PlatformEmpower your teams
      • Employee PortalCentralize your work environment
      • Employee EngagementEngage & empower your employees
    • For
      • Public Sector
      • Networks
      • Education
      • Enterprises
  • Pricing
  • Resources
    • Resource center
      • Case studies
      • White Papers
      • Datasheets
      • Videos
    • Migration guide
      • Alternative to Microsoft 365
      • Alternative to Sharepoint
      • Alternative to Workplace from Meta
    • From The Blog
      • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
      • eXo launches its online community platform – eXo Tribe!
      • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
  • Community
    • CommunityJoin our online community platform
    • DownloadLaunch eXo platform in your infrastructure
    • Source codeSource code on github
    • FAQsAbout the software, the community and our offers
    • REST APIs & DocumentationAll REST APIs available in eXo Platform
  • Company
    • Customers
    • Partners
    • Services
    • About us
    • Contact us
    • Newsroom
  • Menu mobile
    • Pricing
    • About us
    • Careers
    • Resource center
    • Blog
    • Contact us
    • Try eXo
Platform
  • Software Tour Features & capabilities overview
  • Why eXo eXo Platform key differentiators
  • Internationalisation Supporting multilingual environments
  • Mobile Responsive & available on any device
Technology
  • No Code Tailor eXo platform to your needs
  • Architecture An overview of eXo Platform technology
  • Integrations Available connectors & integration capabilities
  • Security eXo Platform security measures
  • Open source Components & licensing
Communication
  • Modern Intranet Build your company culture
  • Knowledge management Centralize and share your company knowledge
  • Community management Engage your community
  • Extranet Involve your clients and partners
Collaboration
  • Social Network Connect all your employees
  • Collaboration Platform Empower your teams
  • Employee Portal Centralize your work environment
  • Employee Engagement Engage & empower your employees
For
  • Public Sector
  • Networks
  • Education
  • Enterprises
Resource center
  • Case studies
  • White Papers
  • Datasheets
  • Videos
Migration guide
  • Alternative to Microsoft 365
  • Alternative to Sharepoint
  • Alternative to Workplace from Meta
From The Blog
  • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
  • eXo launches its online community platform – eXo Tribe!
  • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
Community Join our online community platform
Download Launch eXo platform in your infrastructure
Source code Source code on github
FAQs About the software, the community and our offers
REST APIs & Documentation All REST APIs available in eXo Platform
Customers
Partners
Services
About us
Contact us
Newsroom
Pricing
About us
Careers
Resource center
Blog
Contact us
Try eXo
  1. Accueil
  2. Uncategorized
  3. 4 Simple Steps to Add a Twitter Feed Gadget to Your Intranet Homepage

4 Simple Steps to Add a Twitter Feed Gadget to Your Intranet Homepage

eXo Platform 4 provides many features for building rich websites out of the box. But you can also use the platform’s web-based IDE to build custom plug-ins or gadgets that add an almost limitless number of capabilities. We wrote a simple gadget that displays a Twitter feed of all the recent company-related tweets, which is an easy way to display fresh content on a site’s homepage. This tutorial will guide you through the process of creating the Twitter gadget and adding it to a website page.

To be able to complete this how-to, you will need eXo Platform Enterprise Edition 4.0 up and running.

Step 1: Generating the Twitter Widget

To integrate the standard Twitter gadget, first go to the Twitter widget page. Click “Create new” to create a new widget.

01-create-new-widget

Switch to the Search tab and fill in the search query for the type of feed you want to display (in our case, we want to display any tweets from our company account or our CEO, so we entered @exoplatform or @benjmestrallet). Click on “Create widget”.

02-choose-timeline-source

Copy the generated code.

03-copy-generate-code

Step 2: Creating the Gadget in your eXo Platform Intranet

Log in to eXo Platform portal as an administrator. In the “Administration” dropdown menu, go to the IDE. In IDE app, select menu File à New à Google Gadget. Specify a name for your gadget (e.g., TwitterFeed.xml). In the CData tag, paste the widget code provided by Twitter.

Our code looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Module>
 <ModulePrefs title="TwitterFeed"/>
 <Content type="html">
 <![CDATA[
 <a class="twitter-timeline" width='250' href="https://twitter.com/search?q=%40exoplatform" data-widget-id="395398389979811840">Tweets about "@exoplatform"</a>
 <script>
        !function(d,s,id){
         var js,fjs=d.getElementsByTagName(s)[0],p=/^https:/.test(d.location)?'http':'https';
         if(!d.getElementById(id)){
                js=d.createElement(s);js.id=id;
                js.src=p+"://platform.twitter.com/widgets.js";
                fjs.parentNode.insertBefore(js,fjs);
         }
        }(document,"script","twitter-wjs");
 </script>
]]>
        </Content>
</Module>

If you want to see your gadget working from within the IDE, click on Run à Show preview from the menu.

04-eXo-IDE

To finish, go to the “Run” menu and click on “Deploy gadget to GateIn”.

Step 3: Adding the Gadget to the Application Registry

Before you can insert the gadget into a page, you need to make it available to webmasters by adding it to a category in the application registry. To do this, go to Administration à Applications. Click on the button “Gadget” and find your gadget on the list (we named ours “TwitterFeed”). When you are in your gadget, select “Click here to add into categories”. Choose the category “social” and validate.

Step 4: Inserting the Widget into Your Intranet Homepage

Now you are done with the configuration, so you can insert the new Twitter widget into the intranet homepage. On the homepage, from the “Edit” menu, select Page à Edit Layout. In the editor, simply drag-and-drop the gadget onto the page. Here is the result:

05-Result

Conclusion

In only four simple steps, you should now have a custom Twitter feed integrated into your homepage. You can also quickly integrate any kind of widget into your portal following this process.

Questions? Remarks? Join the discussion on the eXo Community!


make-the-most-out-of-eXo-platform4

Make the most out of eXo Platform 4

Register to the next webinar and get a complete overview of what you can do with eXo Platform 4. Reserve your seat now!

Brahim Jaouane

I am a Digital Marketing specialist specialized in SEO at eXo Platform. Passionate about new technologies and Digital Marketing. With 10 years' experience, I support companies in their digital communication strategies and implement the tools necessary for their success. My approach combines the use of different traffic acquisition levers and an optimization of the user experience to convert visitors into customers. After various digital experiences in communication agencies as well as in B2B company, I have a wide range of skills and I am able to manage the digital marketing strategy of small and medium-sized companies.

Full-featured digital workplace with everything your employees need to work efficiently, smartly integrated for a compelling employee experience

  • Product
    • Software tour
    • Communication
    • Collaboration
    • Knowledge
    • Productivity
    • Open Source
    • Integrations
    • Security
  • Uses cases
    • Digital Workplace
    • Intranet software
    • Collaboration software
    • Knowledge management software
    • Entreprise Social Network
    • Employee Engagement platform
  • Roles
    • Internal Communications
    • Human Resources
    • Information Technology
  • Company
    • Product offer
    • Services Offer
    • Customers
    • Partners
    • About us
  • Resources
    • FAQs
    • Resource Center
    • Collaboration guide
    • What is a Digital workplace?
    • What is an intranet?
    • Employee engagement
  • Terms and Conditions
  • Legal
  • Privacy Policy
  • Accessibility
  • Contact us
  • Sitemap
  • Facebook
  • Twitter
  • LinkedIn
wpDiscuz