Home
Site Implementation Guide
Contents
1. Cache only ArticleDetail and ArticleList display objects without their images php symfony mobilityserver updateAppCache noimages include ArticleDetail include ArticleList Caches everything except mapped Store assets and only caches images for ArticleDetail assets Note that Listing type Display Objects specified via include will also fetch all of the associated detail display objects unless they are explicitly excluded with exclude php symfony mobilityserver updateAppCache exclude StoreList xclude StoreDetail images ArticleDetail Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 46 of 51 The AppCacheMonitor DisplayObject When included on a page this DisplayObject will hook into the browser s ApplicationCache interface in order to relay information about the caching process to the user Note that this Display Object is not required to enable AppCache support on your site Its use is recommended in order to inform the user of the work their browser is performing behind the scenes mAT 15 21 O 100 EP m ATTE 15 22 O 100992 m AT amp T F 15 24 9 999 2 Features gt Features gt Features gt Products gt Products gt Products gt Stores gt Stores gt Stores gt Oracle Twitter gt Oracle Twitter gt Oracle Twitter gt List Filter Demo gt List Filter Demo gt List Filter Demo gt Bookmark This Page gt Bookmark This Page gt Bookmark This Pag
2. Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 15 of 51 Advertisement do not require content sources Source Value optional The exact content source used by this Mapping The type of this value depends on the Source Type selected For instance if the source type is assetlist the source value must be a URL to an assetlist JSP If this source type is rssitemlist the source value must be a URLto an RSS feed In the case of the assetlist source type its source value can take any of the following three forms 1 A full valid URL e g http HOST PORT cs Satellite c Product amp pagename SEUtils Mobility AssetTypeList 2 Apartial URI starting with a forward slash e g cs Satellite c Product amp pagename SEUtils Mobility AssetTypeList This should be relative to the Content Server host and port that Mobility Server is configured to use 3 Aquery string to be appended to the cs satellite uri definition e g c Product amp pagename SEUtils Mobility AssetTypeList CS Type optional The asset type of the WebCenter sites asset being targeted in the case that the Source Type of this mapping refers to WebCenter sites Link Label optional This references the Mapping Label of another mapping in the case that this Display Object creates a list of items For more information on what data is needed by each display object refer to Appendix 1 Display Objects The following are
3. gt lt asset cid 1255731807104 type Articles lastUpdated 2010 09 22 07 57 10 812 mobileenabled true gt page Appendix 4 Folder Structure Default Mobility Server Folder Structure after Automated Install Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 39 of 51 Folders in bold contain files that may be referred to in this document or you may wish to review htdocs L mobilityserver apps L frontend config lib modules templates L cache config LF data F defaults private basic shared LF smartphonebb touch public m basic shared LF smartphonebb touch lib log F plugins templates basic L fragments L shared LF smartphonebb L fragments touch L fragments L test web msadmin apps L netowem config lib modules templates cache config data L lib log F plugins web Appendix 5 Offline Storage Guide Introduction Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 40 of 51 HTMLS has introduced a mechanism called the ApplicationCache The ApplicationCache allows a site to specify to a browser which resources of the site should be cached and made available while browsing offline This is done via a cache manifest file which contains a list of r
4. Oracle WebCenter Sites Mobility Server Version 11 1 1 Site Implementation Guide February 2012 Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 1 of 51 Table of Contents About Oracle WebCenter Sites Mobility Server Prerequisites to Building a Mobile Site Considerations for Your Mobile Web Site Third Party Services Mobile Video and User Generated Content Access Required Skills FatWire Content Server Version 7 6 w WEM Installation Mobility Server Installer Text Editor Discovery Identifying Content Appropriate for Mobile Identifying a Site Identifying First Asset Types to Mobilize most easily consumed Creating a mobile sitemap on paper Installation Mappin Introduction to the Mapper module Overview of Mappings Mapping Walk through Storing Mapping Changes Tasks in the Mapper Module Attribute inheritance Mapping Lists of Assets Design MSAdmin User templates for site structure User templates for look and feel Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 2 of 51 Template Folders and Workflow Create Logos Headers and Footers Creating a custom mapped display object template Combining Display Objects Advanced Template Changes Publishing Appendices Appendix 1 Display Objects List of Display Objects Advertisement AppCacheMonitor Bookmark Carousel Menu Detail Index Listing ListFilter GeoDetail and GeoListing ProductDetail a
5. COM FutureTense Interfaces COM FutureTense Util ftMessage COM FutureTense Util ftErrors gt Kegs TIO lt SEUtils Mobility asset typeList INPUT OUMEUHE cS Record dependencies for the SiteEntry and the CSElement gt lt ics if condition ics GetVar seid null ics then render logdep cid lt ics GetVar seid gt c SiteEntry gt lt LSS 9 te lala ICSE LES lt ics if condition lt ics GetVar eid null gt gt lt ics then gt render logdep cid lt ics GetVar eid gt c CSElement gt lt l 3 88 Sthen gt lt ales 8 LES asset search type lt ics GetVar c gt prefix pfx what id updateddate list alist gt lt xml version 1 0 encoding UTF 8 standalone yes gt page lt ics listloop listname alist lt ics listget fieldname id listname alist output astid lt ics listget fieldname updateddate listname alist output upd asset cid 2 ics GetVar astid type ics GetVar c lastUpdated ics GetVar upd mobileenabled true ics listloop lt page gt CSS d The map fields can be left empty Click save 2 Next choose new and select SiteEntry to begin creation of a new SiteEntry a Name pagename and root element should match the values chosen in step 1 b Ex Mobility XMLforMS 2 for each b IMPORTANT Choose Yes for
6. Wrapper Page Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 21 of 51 C Under Pagelet parameters enter a new parameter named cs contenttype with a value of text xml d Under cache rules choose uncached for testing e Click save Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 22 of 51 3 Test your new page in the browser http HOST PORT CONTEXT Satellite c ASSET TYPE amp pagename Mobility XMLforMS2 Your browser may display warnings if the XML is not perfectly formed in most cases these warnings can be ignored as Mobility Server should be able to overcome issues with white space and other minor problems This new XML can be used to map Mobility Server Listing DisplayObjects ProductListing GeoListing the more generic Listing or SimpleTable To map a Listing create a mapping with the following values CS Type your asset type Display Object Type Listing Mapping Label MyListing Source Type assetlist Source Value c your asset type gt amp pagename lt your pagename gt example c Content C amp pagename Mobility XMLforMS2 Link Label abel for a target DisplayObject that you ve mapped Next we ll need to map each field that Mobility Server needs for this newly mapped DisplayObject For this DisplayObject listing the only fields that are required are headline and description If a short descr
7. display object will already be visible at http lt MobilityServer gt do MyIndex Copy the defaults public Index php template to templates basic MylIndex php Using a text editor make some basic changes to this file Repeat this process for templates smartphonebb MylIndex php and templates touch Mylndex php After restarting mobility server your should be able to preview your changes at http MobilityServer do Mylndex Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 26 of 51 Combining Display Objects Once you have created a new template for your custom Mylndex display object you can add multiple display objects to that template Refer to the mapping section and map a new display object for example a SportsArticleList display object ensuring that this display object can be previewed at http lt MobilityServer gt do SportsArticleList To add that display object to your new MyIndex template add these lines to each version of your MyIndex php file lt php a gt incluce cisplay object uu spomtecpbtecltcitus e 2 Similarly you may now also map new display objects for Business Articles Top News etc and add them to your Mylndex template Restarting Mobility Server and browsing to do MylIndex should now display a page that also contains an article listing More details are available in the templates helper api doc Additional Fields or Static ContentBefore attempting
8. reserved words in Mobility Server that should not be used for field names id cid typeld categoryld updateDate Overview of Field Mappings Each Mapping has a set of Field Mappings associated with it These field mappings control what fields are available on templates for that mapping Below is a view of a sample Field Mappings table and an explanation of the data Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 16 of 51 ID CS Field Name CS Field Type Field Mapping Label 9 Author string Author delete 6 Copy text Body delete 53 Abstract text ByLine delete 5 Title string Headline delete 10 ArtArticlelmage image Image delete 73 PostedDate date PostedDate delete CS Field Name If the currently selected mapping is for a WebCenter sites content source this field corresponds to an asset attribute If the Mapping is for a syndication source RSS or Atom this field is an XPath expression targeting an XML element in the data of that source For more information see Appendix 6 RSS and Atom CS Field Type The data type of the field One of string date double image integer text Field Mapping Label The label by which this field mapping is referred These are case sensitive Mapping Walk through By now you should be able to tell that managing mappings with the module is as simple as finding the mapping in the main table and taking the desired
9. templates and add links to your main index page or you may want to create many custom templates The menu display object can also be used for a more dynamic mobile site structure allowing for changes from within WebCenter Sites User templates for look and feel Templates may also be used to tweak the look and feel of your site however before you edit a template it is important to keep in mind that MSAdmin display properties were created to ensure that these templates will work and even fail in a predictable fashion keeping the site legible on over 5 000 Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 24 of 51 mobile devices On the other hand making even a basic change to a style change to a user template may result in unpredictable behavior or rendering on popular devices that you may not have in your organization If for example a designer were to set a background color CSS property to red on a div element and include a table within that div element they may expect it to render like the image below on the left on all devices It may even appear this way on all devices tested by the designer table text table style background color white Since background color is a valid CSS property on table elements and it appears to work on most phones a developer may not realize that certain very common handsets lack support for this attribute resulting in an illegible site such a
10. the process of creating a new mobile site using Mobility Server We strongly recommend that you carefully review the information contained in this document as well as the Oracle WebCenter Sites Mobility Server Version 11 1 1 Installation Guide prior to installing Mobility Server Applications discussed in this guide are former FatWire products Naming conventions are the following e Oracle WebCenter Sites is the current name of the product previously known as FatWire Content Server In this guide Oracle WebCenter Sites is also called WebCenter Sites Oracle WebCenter Sites Mobility Server is the current name of the application previously known as FatWire Mobility Server In this guide Oracle WebCenter Sites Mobility Server is also called Mobility Server Prerequisites to Building a Mobile Site Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 5 of 51 Considerations for Your Mobile Web Site Oracle WebCenter Sites Mobility Server allows customers to quickly bring their existing content through existing workflows to mobile sites that match their organization s web style guide while providing excellent usability across thousands of mobile devices To accomplish this Mobility Server takes a different approach to site creation and design than that of WebCenter Sites Instead of starting from a blank slate Mobility Server ships with its own templates These templates leverage display objects
11. which render discrete portions of the mobile site Each display object has unique appearance and or functional capabilities These display objects have properties which are controlled using the MSAdmin WEM application e g image size Display objects can be extended and templates can be modified However for reasons described later in this document we recommend that template changes are kept to a minimum This document will guide you through Identifying which content you should consider displaying on your mobile site How to create your site structure Mapping content to display objects What content Mobility Server should display How to display them How to publish the mobile site to a delivery environment Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 6 of 51 Third Party Services Mobility Server is able to consume content from sources other than WebCenter Sites assets There are two approaches to this a Mobility Server directly consuming RSS ATOM or proprietary XML or JSON feeds or b Mobility Server consuming 3rd party content that is already exposed to WebCenter Sites Please see your account representative for more details Mobile Video and User Generated Content Mobility Server does not include support for mobile video transformation and playback or user generated content However these offerings can be added to your mobile website through simple integration with third party
12. Manifest file can be generated with the updateAppCache task Usage symfony mobilityserver crawlSite url maxdepth The fully qualified URL of your mobile site e g http m example com maxdepth The maximum depth to recursively follow links Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 44 of 51 The mobilityserver updateAppCache task The updateAppCache task will generate or regenerate a cache manifest file based on your content in the Mobility Server database This task will always update the revision line of the manifest file instructing the browser to retrieve new content Note that this will only cache assets that are already in the local Mobility Server database If you run this after a clean install it is likely that the site will only be partially cached if the crawl option is not used Usage symfony mobilityserver updateAppCache explain crawl family bump nocache noassets noimages images exclude include Explain why certain assets are not being cached Force MobilityServer to crawl itself first Specify MobilityServer URL for this option Note crawl this does the same thing as running the crawlSite task famil Specify a list of families to generate manifest files for Only these families will be cached Y multiple values are allowed Defaults touch tablet Only update the re
13. action Mappings can be edited and deleted and Field Mappings can be added or removed from a Mapping The most important part of mapping is understanding what data is required for your Display Object of choice and what fields are used on that Display Object s default template refer to Appendix 1 Display Objects For example purposes let s create a simple mapping between a WebCenter sites Articles asset type and a Mobility Server Detail display object note if your WebCenter Sites installation doesn t have an Articles asset type you can either create one or use another asset type of your choosing First access the Add Mapping page by clicking the link underneath the mapping table on the main page of the mapping section and fill out the form like so Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 17 of 51 Click Add Mapping to add the new mapping to the system You will then be forwarded to the Edit Fields page for your newly created mapping Add each field with the Add Field form until the fields table looks like so SSS SSS SS ee CS Field Type Field Mapping Label Author string Author Copy text Body Abstract text ByLine Title string Headline ArtArticlelmage image Image PostedDate date PostedDate You ve now successfully created your first mapping To test it first select an asset of the asset type you mapped to and find its CID Then navigate to the page for your
14. ate street Yes Yes GeoListing zip none non string data types are shown in parenthesis any and all mapped fields will be displayed automatically tablet family will render listing differently if gridlmage is mapped Advertisement Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 30 of 51 Advertisement is a display object that can be used for displaying advertisements on your mobile pages This may be used to hold code for calling advertisements from third party platforms or it may be used to serve house advertisements Each mapped advertisement may be enabled or disabled with MSAdmin using an ads visible display property It is recommended that a separate mapping be added for each location on a page that an ad is placed e g TopAd BottomAd etc Having separate mapped advertisements for each placement as well as for each device class allows you to customize your ad inventory Ads that are suitable for the touch family of devices may not be suitable for the basic or smartphone families AppCacheMonitor AppCacheMonitor is presents information about the offline status of the mobile site to the end user Details on its operation can be found in Appendix 5 Offline Storage Guide Bookmark The Bookmark DO can be used to enable end users to place an app like icon on the Home Screen of their mobile device which when tapped will open the mobile device s Internet browser an
15. d take the user directly to the Customer s mobile website This DO is currently available for the Touch family of devices To enable the Bookmark for a mobile site the following steps need to be followed 1 Usethe Mobility Server Mapping User Interface to enable the Bookmark DO for the mobile site the only necessary fields are Display Object Type and Mapping Label both of which should be set to Bookmark A screenshot is provided below Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 31 of 51 Tp ont Server Control Panel C l 2 Add the following line to templates touch Index php Sh gt include_display_object Bookmark Once this step has been completed a pre formatted Bookmark floater will appear on the mobile website s home page as can be seen in the sample screenshot below Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 32 of 51 will Verizon 35 4 05 PM The default title used by the Bookmark will the title set at the top of the Home page templates touch index php e g h gt setTitle Force Sports 3 The default home page icon can be modified by creating an icon and saving it in the web folder with the following file name bookmark do icon png The recommended HomeScreen icon size is 57x57 pixels Carousel Carousel generates an animated slideshow of photos on support
16. e gt Cache is up to date Last updated 2012 02 29 15 23 01 Downloading assets 31 Last Caching complete Last updated updated 2012 02 29 15 20 53 2012 02 29 15 20 53 Check for updates i lt 2 M m lt 2 M B Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 47 of 51 Appendix 6 RSS and Atom Feeds Overview RSS and Atom feeds can be mapped to DisplayObjects To accomplish this the following source types should be used rssitemlist rssitem atomitemlist atomitem The rssitemlist and atomitemlist source types are intended for use with the Listing and ProductListing DisplayObjects The rssitem and atomitem source types are intended for use with Detail and ProductDetail DisplayObjects In each of these cases the source value must be set to a full RSS for rssitemlist and rssitem or Atom feed for atomitemlist and atomitem If the same source value is used a link label can be used to link a Listing or ProductListing DisplayObject to a Detail or ProductDetail DisplatObject Field Mappings When mapping a DisplayObject to an RSS or Atom source type the field names take on a new meaning Instead of expecting a CS asset type attribute name they will expect an XPath statement The starting point for these XPath expressions is the item element for RSS and entry for Atom This allows for a simple shorthand to be used not requiring any XPath knowledge in most cases The f
17. ed devices allowing the visitor to browse through images Itis useful for promotions featured products or simply recent articles The carousel s animation and control features degrade gracefully for lower end devices In the worst case it will still display at least a static image and or caption but for most modern touch devices it will display an animated slideshow that the user can control It is recommended that carousel be limited to five images The images must be of a 2 1 aspect ratio and any text should remain visible at the size they will be resized to 280 pixels wide by 140 pixels tall Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 33 of 51 MSAdmin contains controls for hiding or displaying captions and other portions of the carousel Menu In the Discovery section above the approach that would be taken to organize existing content into a sitemap for the mobile site was determined The menu DO is one way to implement that sitemap Two WebCenter Sites templates will need to be created using that approach These templates will then generate the resulting XML that the Menu display object will use The first WebCenter Sites template to be created should reside by default at cs Satellite pagenameczSEUtils Mobility Navigation and will contain a site navigation element This URL can be adjusted in mobilityserver apps frontend config app yml This element contains a single attribute lastUpdate c
18. esources absolute URLs or relative paths for the browser to cache The cache manifest file is referenced by a manifest attribute on the html element when this attribute is present HTML5 compatible browsers will download the manifest file and begin the process of caching every resource referenced by it The ApplicationCache is especially beneficial on mobile platforms because it offers some relief for slow and or unstable connections As such Mobility Server 11 1 1 offers built in support for enabling ApplicationCache usage on your mobile site By having a user s mobile device cache your site s resources you ensure an overall smoother browsing experience The ApplicationCache greatly helps to bridge the gap between native and web based mobile apps Configuration To enable support for the ApplicationCache in Mobility Server first set the use_appcache setting in app yml to true The following Apache directives must also be added to Apache s configuration AddType text cache manifest manifest ExpiresByType text cache manifest access plus 0 seconds Note these are included in the web htaccess file that ships with Mobility Server so this may not be necessary Creating the Cache Manifest Once ApplicationCache support has been enabled and Apache has been configured it is now time to decide what to cache and create the manifest file The new mobilityserver updateAppCache command line task is provided to do this Thi
19. found MobilityServer will not search higher in the asset hierarchy and will function as if the attribute does not exist Mapping Lists of Assets It is sometimes necessary for Mobility Server to retrieve sets of assets based on multiple criteria for use in Display Objects One way to accomplish that is to create new templates in WebCenter Sites that output an XML representation of the desired assets The following is an example that illustrates how to create a custom template that will generate a list of assets for Mobility Server to consume The XML generated by this example is suitable for the assetlist source type 1 First load the WebCenter Sites Advanced Interface and choose the design somitimes Site Design sometimes Developer menu Choose New from the top left and select CSElement to begin creation of a new CSElement a Set assignees and continue to the next page Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 20 of 51 b Enter memorable values for the Rootelement and Element Storage Path Filename fields Ex Mobility XMLforMS2 and Mobility XMLforMS2 jsp C Enter the JSP from the table below and then continue to next page taglio preti cs uri ifur uretense ceiro l O0 clc S raglib proti Tasset uri futureten e CS a3 oi Trlan gt taglib prefix ics uri futuretense Cs iles ill f taglib prefir render uri futuretense cs emelese ele S page import
20. g experience They can be done with any text editor e g vim emacs notepad etc Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 8 of 51 Discovery Identifying Content Appropriate for Mobile When designing your mobile site it s important to keep in mind that the mobile site is not simply a shrunken down version of your regular web site Even as mobile devices are released with higher and higher screen resolutions their screen sizes are limited when compared to desktop browsers Furthermore the limitations and unique capabilities of mobile browsers and devices have significant impact on what content can and should be presented and how it should be laid out and your mobile site should be designed with these idiosyncrasies in mind For instance touch screen based devices introduced new challenges and opportunities for mobile site design A simple example of this illustrates Mobile designers quickly learned that the width between links or buttons on touch devices should be no less than a finger tip width as links placed too close together would often lead users to the wrong page Thus it s an important exercise to determine which and how much content you want on your mobile site especially your mobile home page Another important consideration is that mobile users are most often on the go unlike desktop browser users who are usually sitting at a desk They are often time constrained and visiting you
21. ges though multiple detail display objects could be used on a single page The default fields and layout lend themselves well to articles press releases or similar asset types GeoDetail and ProductDetail are variations of this display object Detail pages by default expect a single image per asset which is mapped as its image field If additional images are added to the description field those will appear on your mobile site as well MSAdmin contains many properties for adjusting how if at all these images are displayed Detail display objects accept a source type of asset and can therefore be used either to represent a single asset e g CompanyContactlnformation or accept an asset s CID as a parameter to render any asset of a given type that has been mapped to it Index Index can be thought of as a container for other display object though it is a display object itself Asset types cannot be mapped to it By default Mobility Server ships with a single mapped Index display object in the user templates folder Index may also be useful to create pages with content not available via WebCenter Sites Listing Listing accepts an assetlist source type allowing it to display anything from a short static list of items to a very large list of items so it is suitable both for short menus as well as for long directory style listings It also uses the link label field to allow it to create links to other display objects For examp
22. hanges made through MSAdmin will only apply to one site Identifying First Asset Types to Mobilize most easily consumed Mobility Server can expose content found in any asset that is exposed through WebCenter Sites REST API including images and depending on the licensing agreement video and other multimedia Beginning with Mobility Server 2 0 1 this mapping of WebCenter Sites asset types to Mobility Server can be achieved and adjusted without any code changes As of version 11 1 1 a built in administration utility called the Mapper module is available for this purpose Prior to version 11 1 1 Mobility Server did not follow associations between assets which the exception of associations to image assets As of 11 1 1 an asset s associations are now automatically available without the need to map them Refer to the Version 11 1 1 Template API Guide for more information on how to access associations Creating a mobile sitemap on paper In some cases it may be necessary to create new attributes in WebCenter Sites for existing asset types to support mobile content If for example your desktop site s product descriptions are usually 1000 words it may make sense to create a mobile summary or just summary attribute that allows editors to describe a product in just 200 words This may be helpful in some cases when content has been modeled using complex associations that should be simplified for mobile devices and mobile users Once
23. hosted services provided by Oracle s partner netomat Inc Please speak with your account representative for details on contacting a netomat representative Access You must have access to your Mobility Server installation s file system and database Unix command line knowledge is necessary unless your system administrator has provided you with tools for accessing the file system e g FTP access and the internal Mobility Server database Required Skills HTML Changes to the Mobility Server templates described in this document require only knowledge of HTML although experience with any server side language JSP PHP ASP etc or templating system is recommended FatWire Content Server Version 7 6 w WEM Installation Content Server 7 6 or greater with WEM is a Mobility Server requirement Mobility Server installs MSAdmin a WEM application for configuring your mobile site in management environments Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 7 of 51 Mobility Server Installer This document assumes that you have procured Mobility Server and are ready to install it We recommend that you wait until you have completed reading through Chapter 4 to begin installation Text Editor During the design phase you will be asked to modify PHP templates but no PHP experience is necessary The changes as you will see should be very simple to anyone with HTML and any server side programmin
24. ile phones that share similar attributes and features for example the touch user interface The device families are defined as Basic Smartphone Touch and Tablet Aside from changes to the shared folder most changes to the mobile site should have corresponding changes in each folder Create Logos Headers and Footers One safe and necessary task to perform to templates is changing the logo file First create a 140x30 png logo similar to the one found in web client universaldemo images universaldemo logo png Store this file using your organization s filename in your mobility server s web client folder 1 First create copies of the templates files you will need to override This means creating the following files in your templates folder assuming the default families a basic fragments layout php b smartphonebb fragments layout php C touch fragments layout php d tablet fragments layout php 2 Foreach family adjust the image path in layout php to reflect your logo image 3 Restart Mobility Server and preview your changes in MSAdmin confirming the change for each device family Creating a custom mapped display object template Mobility Server allows you to create a new template for each mapped display object that you create First map a new display object For the sake of simplicity let s assume that a new Index display object has been mapped with a label of MyIndex Once the mapping exercise is complete your
25. in you must store the mapping back to WebCenter Sites This can be done either from the tasks section in the mapper module or by issuing the following command from the Mobility Server folder php symfony mobilityserver storeMapping Mapping changes cannot be published to other Content Server environments until this task is run Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 19 of 51 Tasks in the Mapper Module The tasks section of the Mapper Module allows you to run mapping related tasks rather than having to do so from the command line The following tasks are available mobilityserver clearDisplayObjects Clear Display Objects Deletes all content data stored in Mobility Server mobilityserver storeMapping Store Mapping Serializes all Display Object Mappings stored in Mobility Server and stores them in WebCenter Sites mobilityserver fetchMapping Fetch Mapping Fetches Display Object Mappings stored in WebCenter Sites unserializes them and stores them in Mobility Server Attribute inheritance When a Display Object Field is mapped to an attribute of a WebCenter Sites asset MobilityServer simulates inheritance from parent to child assets If an attribute does not exist on a targeted asset MobilityServer will attempt to find the attribute on the asset s parent If found MobilityServer will function normally as if the value of the attribute came from the targeted asset If not
26. iption field is available in your asset we recommend using that if not Mobility Server will truncate the field automatically You should now be able to view your newly mapped DisplayObject by visiting http lt MobilityServer gt lt port gt do lt label for your listing do e g MyListing gt Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 23 of 51 Design There are two ways to change the look and feel of your site The first is MSAdmin MSAdmin is detailed in the Mobility Server User Manual Your team will need to extend at least some of the templates to create a basic site structure Additional design changes can also be made through user templates Please refer to Appendix 4 for complete folder structure MSAdmin After completing installation MSAdmin should be available for your desired site upon login Once inside MSAdmin your mobile site design can be tweaked to reflect your organization s style guide As you map new Display Objects they will appear in MSAdmin It is strongly recommended that your design team goes through each attribute for each device class prior to requesting any changes to the templates Please see the Mobility Server User Guide for more information on using MSAdmin User templates for site structure When first setting up your mobile site you must create and modify existing templates to allow visitors to navigate your site You may only need to copy existing
27. itiates the phone s dialer or accessing thumbnails at a given percentage of screen size Calls to these functions and many others can be added to the templates where appropriate These functions and how they can be used are described in a separate document entitled Oracle WebCenter Sites Mobility Server Version 11 1 1 MobileHelper Template API Guide Please see your account representative for more details Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 28 of 51 Publishing Since changes that are made through MSAdmin are stored back to Content Server assets and all content is stored in WebCenter Sites changes made by authors or even most design changes will be published Template changes however need to be manually copied to other Mobility Servers Changes described in Chapter 5 Mapping should be be available on other Mobility Servers in a given environment once mapping changes are stored Please refer to the Mapping section Storing Mapping Changes subsection Please see your account representative for the latest publishing information Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 29 of 51 Appendices Appendix 1 Display Objects List of Display Objects Assets DOs huusm ore mevn mw e mama ee e pear emonsed botr tesame asma ves essi ov ome ein tet rame sat emi e GeoListin city country description text name st
28. le MyListing may be created with a link label of MyDetail If so Mobility Server will attempt to create a link for each row in the listing to a MyDetail display object with the same CID as a Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 35 of 51 parameter In the tablet family the listing will be rendered differently depending on how it has been mapped If eridlmage is mapped the listing will appear as a grid of approximately 3x3 images in portrait mode or 4x2 in landscape mode The gridlmage image will be used as the image for each item in the grid If gridlmage is not mapped the listing will appear as a single column list similar to the way it is rendered in other families ListFilter ListFilter offers the same functionality as listing with the added feature of a text input field that as a user types in it filters down the list to only contain items with Headline fields matching the entered text This filtering is done completely client side with javascript so it happens instantaneously as the user types It s recommended you use a ListFilter display object when you expect that users will be looking for a specific item or group of items in a listing rather than browsing from item to item ListFilter is supported on touch and tablet devices GeoDetail and GeoListing GeoDetail and GeoListing are used to create location based services When all of the default fields are map
29. nd ProductListing SimpleTable Appendix 2 Mapping Schema Diagram Appendix 3 XML Examples Site Navigation XML Example Page XML Example Appendix 4 Folder Structure Default Mobility Server Folder Structure after Automated Install Appendix 5 Offline Storage Guide Introduction Configuration Creating the Cache Manifest Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 3 of 51 Notifying the User of Caching Publishing and Delivery vs Editorial Environments Final Steps http www w3 org TR html5 offline html The mobilityserver crawlSite task The mobilityserver updateAppCache task Ihe AppCacheMonitor DisplayObject Appendix 6 RSS and Atom Feeds Overview Field Mappings Sample RSS Feed Advanced Mappings OTHER REFERENCE DOCUMENTS Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 4 of 51 About Oracle WebCenter Sites Mobility Server Oracle WebCenter Sites Mobility Server the newest deployment solution in Oracle WebCenter Sites encompassing Web Experience Management WEM suite provides a single environment through which to create and manage dynamic content for thousands of mobile devices Mobility Server leverages the powerful CMS capabilities of Oracle s WebCenter Sites beneath a remarkably easy to use interface All traditional web content can be easily configured for use on myriad types of mobile devices in real time This guide walks you through
30. nd Tasks They can be accessed by clicking the links in the heading of any page in the module Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 14 of 51 e Mapping Section This is the main section of the module In this section an administrator can view add edit and delete mappings and their fields e Mapping Data section This section offers a tabular view of the content data stored in Mobility Server associated with each mapping This is useful for troubleshooting e Tasks section This section allows for the execution of certain tasks related to mappings These tasks can also be run directly with php from the command line they are accessible here for your convenience Overview of Mappings Below is a view of the Mapping table with several Display Objects already mapped and an explanation of the data Mapping Label ID Display Object Type Source Type Source Value CS Type Link Label AppCacheMonitor 20 AppCacheMonitor edit delete ArticleDetail 3 Detail asset Articles edit delete edit fields Bookmark 19 Bookmark edit delete BottomAd 12 Advertisement edit delete DiscoveryRss 23 Listing rssitemlist http news discovery com rss news DiscoveryRssDetail edit delete DiscoveryRssDetail 22 Detail rssitem http news discovery com rss news edit delete Home 26 Index edit delete Index 10 Index edit delete LinkToArticleDetail 25 Index asset Ar
31. nerate the cache manifest when Publishing occurs using the same options to generate it as you specified to mobilityserver updateAppCache As with most caching options it is recommended that the ApplicationCache only be enabled in Delivery environments Final Steps As a last step test to ensure that caching works as you expected Most devices feature an airplane mode feature that disables all networking features allowing you to test how the device will work in offline mode The JavaScript console in the Google Chome browser is very useful for seeing what the ApplicationCache is doing behind the scenes Understanding how ApplicationCache and the cache manifest are intended to work is critical for troubleshooting The following resources can be helpful Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 42 of 51 WHATWG HTML Living Standard http www whatwg org specs web apps current work Zapplicationcache A Beginner s Guide to Using the Application Cache http www htmlbrocks com en tutorials appcache beginner The HTMLS standard Section 5 6 Offline Web Applications http www w3 org TR htmlb5 offline html Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 43 of 51 The mobilityserver crawlSite task The crawlSite task will recursively crawl your site in order to populate the Mobility Server database with your content so that a complete Cache
32. new mapping using this CID by navigating to this URL http lt MobilityServer gt lt port gt do MyArticleDetail lt CID gt You should see your mapped content rendered in the style used by the Detail default template Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 18 of 51 If something went wrong It may also be helpful to follow the mobility server log file found by default under mobilityserver log frontend_prod log as this may provide useful information regarding errors in mapping or help identify common mistakes Viewing your web server s error log may be helpful as well The most common mistakes are that an attribute you mapped to doesn t exist for the given asset type or a required field was not mapped Also make sure that the selected data types are correct Finally you can navigate to the Mapping Data section of the module to see the WebCenter Sites asset data that Mobility Server stored in its database It should look something like so ID Mapping Label CID Fields 1 1327538543300 No data available 8 MyArticleDetail 1255731772322 Field Mapping Label CS Field Type Value Headline string Tennis travel for fans of the game Body text Author string Sally Lewis Image image images Asset 8 Image shutterstock jpg ByLine text PostedDate date 2009 10 21 07 22 53 Storing Mapping Changes Before your newly mapped display object can be configured using MSAdm
33. obility Server Version 11 1 1 Installation Guide for more information Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 12 of 51 Mapping Mobility Server uses display objects to represent discrete portions of the mobile site with unique appearance or functional capabilities Each display object contains fields that will be mapped to WebCenter Sites asset attributes or xml elements in syndication data sources Display objects have default fields but may be extended to contain hundreds of additional fields Some display objects such as listings may be easily linked to other display objects The table below lists the display objects that ship with Mobility Server and descriptions of each display object can be found in Appendix 1 Additional display objects may be installed separately Display objects are the building blocks for your mobile site In this section we will describe how to instantiate display objects and map content to them Some display objects do not require a data source e g Advertisements some require only a single WebCenter Sites asset e g Detail while others accept custom data sources e g the assetlist or rssitemlist source types for a Listing display object It is recommended that you first read through this section then begin by mapping a Detail display object to familiarize yourself with the basic mapping procedure List of Display Objects Requires Links to Asset
34. ollowing example demonstrates mapping standard sub elements of an RSS item element to a Listing DO Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 48 of 51 BN Baa ee ee author string description string Description link string Link pubDate date PubDate title string Title Sample RSS Feed The following is a very basic example of an RSS feed from http en wikipedia org wiki RSS lt xml version 1 0 encoding UTF 8 gt lt rss version 2 0 gt lt channel gt lt title gt RSS Title lt title gt lt description gt This is an example of an RSS feed lt description gt lt link gt http www someexamplerssdomain com main html lt link gt lt lastBuildDate gt Mon 06 Sep 2010 00 01 00 0000 lt lastBuildDate gt lt pubDate gt Mon 06 Sep 2009 16 45 00 0000 lt pubDate gt tt121800 ttl item lt title gt Example entry lt title gt lt description gt Here is some text containing an interesting description lt description gt lt link gt http www wikipedia org lt link gt lt guid gt unique string per item lt guid gt lt pubDate gt Mon 06 Sep 2009 16 45 00 0000 lt pubDate gt lt item gt lt channel gt lt rss gt Advanced Mappings DisplayObjects mapped using an RSS or Atom source type accept XPath statements as CS Field Name data As described previously by default the XPath function will begin within item elements a single i
35. ontaining a unix style timestamp Please refer to Appendix 3 Site Navigation XML Example for full XML code site navigation can contain navigation elements These navigation elements can be nested These elements look like this navigation lastUpdate 1298768235613 cid 1255731768473 name Home serviceUrl cs Satellite pagename SEUtils Mobility Home gt lastUpdate is a unix style timestamp name is the name of the page or area to navigate to displayed on the mobile site serviceUrl should contain a relative URL leading to a page XML document as described in the next section The second WebCenter Sites template that should be created will generate page XML documents The page xml contains the WebCenter Sites asset ids cid of the assets to be shown on each mobile page Please refer to Appendix 3 Page XML Example for full XML code The page element will contain a name attribute with the homepage name to be used in navigation lt page cid 1255731768473 name Home gt The page element contains a list of asset elements asset cid 1255731772322 type Article lastUpdated 2011 02 25 11 49 55 05 gt Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 34 of 51 The asset elements contain the following attributes e cid the asset cid e type the asset type of the asset e lastUpdated a timestamp Detail Detail is a display object that is recommended for full pa
36. ped Mobility Server will automatically geo code addresses saving a longitude and latitude value for each corresponding WebCenter Sites asset This data can then be used by either or both GeoListing and GeoDetail to display maps optimized for a visitor s handset Further GeoListing allows for most devices in the touch family to share their location with Mobility Server allowing Mobility Server to present a list of locations to the visitor sorted by proximity In the tablet family the GeoListing and GeoDetail are used together to show an interactive map along with the list of locations ProductDetail and ProductListing ProductDetail and ProductListing can be used together to create catalogs of products In addition to the features already present and described in the listing and detail display object ProductDetail and ProductListing allow for prices SKUs and other information to be presented to visitors Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 36 of 51 SimpleTable SimpleTable is unique in that it does not have any default fields Instead you may map anywhere from two to ten fields of a given asset type to a SimpleTable display object The field name values may be created with any string allowing you to dynamically column labels for each column in a simple table The data for each column will then be taken from source field name Oracle WebCenter Sites Mobility Server v11 1 1 Site Im
37. plementation Guide v20120301 Page 37 of 51 Appendix 2 Mapping Schema Diagram Schema ADDE DisplayObjectField i id source_name DisplayObjectType id display_object_type_id object_class field_name label source_field_name source_type source_data_type he ee string date double image video integer text link la Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 38 of 51 Appendix 3 XML Examples Site Navigation XML Example lt xml version 1 0 encoding UTF 8 standalonez yes K lt site_navigation lastUpdate 1313514053774 gt lt navigation type Page lastUpdate 1313514053774 cid 1255731768473 name Home serviceUrl cs Satellite pagename SEUtils Mobility Home gt lt navigation type Page lastUpdate 1313514053774 cid 1255731768476 name Features serviceUrl cs Satellite pagename SEUtils Mobility Features gt navigation type Page lastUpdate 1313514053774 cid 1255731768484 name TopNews serviceUrlz cs Satellite pagename SEUtils Mobility TopNews navigation site navigation Page XML Example lt xml version 1 0 encoding UTF 8 standalonez yes lt page cid 1255731768476 name Features gt asset cid 1255731772030 type Articles lastUpdated 2010 09 16 16 11 21 0 mobileenabled true gt lt asset cid 1255731807156 type Articles lastUpdated 2011 08 02 17 35 26 066 mobileenabled true
38. r site for a specific purpose rather than a desire to generally browse around Therefore ensure that their point of entry is uncluttered loads quickly and important content is easy to locate Typically contact location and timely event information should be easiest to access or navigate to In many cases this may mean that much of the information that resides on the home page or one link away on a desktop browser is omitted from a mobile homepage or possibly from the mobile site entirely Given the mobile device screen size and the different usage patterns typically seen on mobile you may also wish to create content that is intended solely for the mobile experience This may include shorter descriptions or summaries of existing content or new content such as location based listings that leverage the device s GPS capabilities Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 9 of 51 Identifying a Site Mobility Server supports a single WebCenter Sites site per installation You will need to provide the WebCenter Sites site name when configuring Mobility Server Mobility Server installation will install an MSAdmin WEM application and it will also create an asset of the type MobilityServerProperty This asset should never be directly modified but it may be important during troubleshooting as it needs to be published for display property and other mobile site changes to appear in other environments Any c
39. s DOs Baa e 0 je EL amus eemeceswsiee e De FTEMMMITICTUI I rw eau Jo cou ceste rame semen je Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 13 of51 Geolistin country description text name state street uu ha e EL Ma eoo Jw je Ec ee e max je fr non string data types are shown in parenthesis any and all mapped fields will be displayed automatically tablet family will render listing differently if gridlmage is mapped Note More information about each display object is provided in Appendix 1 Display Objects Introduction to the Mapper module A typical installation begins with only a single mapped Index display object additional display objects must be mapped using the mapper module The Mapper module is an administrative web frontend tool that lets an administrator add edit delete and view Display Object Mappings without the need to directly manipulate the database In addition the Mapper module also offers a view of content data stored in Mobility Server and allows for the execution of certain administrative jobs tasks related to Mappings The Mapper module is available without the need for special configuration by navigating to http MobilityServer mapper Authentication with the WebCenter Sites CAS portal is necessary to access the Mapper module The three sections of the Mapper module are Mapping Mapping Data a
40. s task will generate cache manifest s to your specifications based on the content stored in Mobility Server s database One manifest will be generated for each device family you specify Note that because Mobility Server stores site content on demand running this against a newly Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 41 of 51 created site will generate a mostly empty manifest To aid with this the new mobilityserver crawlSite command line task has been provided This task will fully crawl your site thus populating the Mobility Server database with content and allowing for the creation of a complete manifest Notifying the User of Caching After configuration is complete and the manifest has been generated everything is setup so that HTML5 enabled browsers will now cache your site Although not necessary it is recommended that the user is informed that caching is taking place For this purpose a new DisplayObject called AppCacheMonitor has been provided When included on a page this DisplayObject will hook into the browser s ApplicationCache interface in order to relay information about the caching process to the user Publishing and Delivery vs Editorial Environments One problem with ApplicationCache is that when new content is published to a page this content will not appear to users if they have previously cached that page To overcome this Mobility Server will automatically re ge
41. s the one above on the right Thus it is recommended that wherever feasible design changes be implemented by changing DO property values via MSAdmin Please consider the warnings above but understand that changes to the templates can be made safely Any text that is hard coded should be safe to change Re ordering of display objects or other elements within the templates is necessary and is safe and encouraged Template Folders and Workflow The user templates folder exists in the templates folder off of the root of your mobility server installation Templates reside in two other folders as well defaults public and defaults private The contents of these folders should never be modified as any changes to the files in these folders may be overwritten either when Mobility Server is upgraded or when new Display Objects are installed Templates found in the defaults public folder may be copied to the user templates folder The templates in the defaults private folder are not intended to be extended and changes to those templates or their variants are not supported Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 25 of 51 Each of these template folders support the same structure which can be found in the appendix Each folder contains a folder for each device family as well as shared folder that contains fragments of code that may be shared across device families A Device Family is a set of mob
42. tem element for rssitem or a list of items for rssitemlist so a CS Field Name of link is equivalent to Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 49 of 51 rss channel item link or item link The XPath functionality can be useful for feeds that have additional XML elements or for including data from the root element For example a Detail DisplayObject named MyRSSItemDetail could have a custom field mapped named feed title which takes a CS Field Name value of title Each resulting MyRSSItemDetail instance would populate feed title with the channel title Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 50 of 51 OTHER REFERENCE DOCUMENTS Oracle WebCenter Sites Mobility Server Version 11 1 1 Installation Guide Oracle WebCenter Sites Mobility Server Version 11 1 1 User Manual Oracle WebCenter Sites Mobility Server Version 11 1 1 Template API Guide Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 51 of 51
43. the site and the asset types have been identified it is helpful to create a sketch of the topology of the site MSAdmin allows for many options to alter the design of your mobile site on the fly but changes to the site structure often require changes to WebCenter Sites templates or to the Mobility Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 10 of 51 Server templates There are many approaches to organizing this content There are four approaches that rely on WebCenter Sites content organization As a new sitemap just for the mobile site driven by WebCenter Sites content organization As a branch of the existing sitemap Based on the existing sitemap with omissions ee o Using a programmatic approach or tag to identify content from the sitemap that should appear on mobile The Menu DO defined in Appendix 1 can take advantage of a content structure stored in WebCenter Sites using one of the options above or can simply have menu options added to it directly by extending it through its templates For more information please see the Design section Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 11 of 51 Installation Now that you have identified the Content Server site that your mobile site will be based on it is time to install Oracle WebCenter Sites Mobility Server Please take note of the site name and then refer to the Oracle WebCenter Sites M
44. ticles edit delete edit fields OracleRss 24 Listing rssitemlist http www oracle com us corporate press rs edit delete s rss pr xml OracleTwitter 18 Listing atomentrylist http twitter com statuses user_timeline Ora edit delete cle atom ProductDetail 16 ProductDetail asset ProdSku edit delete edit fields ProductList as ProductListing assetlist IcsiSatellite ProdSku ProductDetail edit delete edit fields c ProdSku amp pagename SEUtils Mobility As setTypeList jsp ProductSkuTable 8 SimpleTable assetlist IcsiSatellite ProdSku edit delete edit fields c ProdSku amp pagename SEUtils Mobility As setTypeList jsp PromoDetail 6 Detail asset Promo edit delete edit fields StarRating 17 Rating edit delete StoreDetail 14 GeoDetail asset Store edit delete edit fields StoreList 13 GeoListing assetlist IcsiSatellite Store StoreDetail edit delete edit fields c Store amp pagename SEUtils Mobility Asset TypeList jsp TopAd 11 Advertisement edit delete Mapping Label A friendly name given to this mapping This label is used in direct links to the mapping and in template API functions ID The primary key of the display object row automatically assigned by the system Display Object Type The Display Object used by this Mapping Source Type optional The type of content source used by this Mapping Most of these sources refer to WebCenter Sites but sources for RSS and Atom exist as well Note that some Display Objects e g
45. to display any additional custom fields you should first preview the site in MSAdmin to ensure that no errors were made when modifying the template files Additional fields once mapped in the database as described above can be displayed by adding a get method like this to your template Sarticle getCustomFieldl Please see the Display Object Fields section of the Oracle WebCenter Sites Mobility Server Version 11 1 1 MobileHelper Template API Guide for more information on the dynamically generated get methods This example assumes you are working in a copy of a detail template file in the templates touch folder Sarticle represents the current article being displayed and getCustomField1 instructs Mobility Server to look for a field named Custom Field1 Additional fields e g Custom Field2 called by getCustomField2 and so on may be added as well Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 27 of 51 Advanced Template Changes The Oracle WebCenter Sites Mobility Server templates have access to a rich library of features that allow developers to extend or modify the existing templates Direct access to the underlying device database is also available so that custom functionality can be added Examples include determining screen size helpful for making decisions about how much content should be displayed how to link to a phone number so that clicking or tapping a phone number in
46. vision date in the Cache Manifest but do not regenerate its content This forces clients to re cache pages without changing which URLs and paths are cached Do not cache anything at all This option overrides any others This is useful for generating nocache an empty manifest for when you want to disable caching on a site that previously had it enabled Only cache static things like stylesheets and Javascript Do not cache any images This overrides the images option If specified only images associated with these labels will be included Note that this is mamages overridden by the noimages option Specify any labels to prevent them and their associated content from being cached Note exclude that the include option overrides this multiple values allowed If specified only these labels and their associated content will be included Note that this include overrides the exclude option multiple values allowed Oracle WebCenter Sites Mobility Server v11 1 1 Site Implementation Guide v20120301 Page 45 of 51 Examples Disable caching altogether php symfony mobilityserver updateAppCache nocache Cache only Javascript and CSS files necessary for the site to run without caching any display objects php symfony mobilityserver updateAppCache noassets Create cache manifest crawling the site located at http mobile example com first php symfony mobilityserver updateAppCache crawl http mobile example com
Download Pdf Manuals
Related Search
Related Contents
Tecumseh AE3425Y-AA1AXA Performance Data Sheet BEDIENUNGS-ANLEITUNG OPERATING INSTRUCTIONS MODE D CopperLink Ethernet Extenders Model 2158 & 2168 MATRIZ PARA LA DESCRIPCION DOCUMENTAL 9 1. Institución Cooler Master CM Storm SGB-3011-KKMF1-US Tandberg Data Tandberg SLR100 Internal Drive brp 取扱説明書 Knape & Vogt HS191613C-950FS Installation Guide 2 Appuyez sur - Alpine Europe PB360G Vertical Floating Ball Holder Copyright © All rights reserved.
Failed to retrieve file