background image

RSS 0.9, 1.0, and 2.0

Atom™

The browser lists web feed items by date, and lists unread items in bold. When the user opens an item, the content appears in a
new page. The BlackBerry Browser does not act as an aggregator, and it does not store web feed content except as cached data.
Users can add web feeds to the bookmark list.

In BlackBerry Device Software version 4.2.2 or later, the BlackBerry Browser supports RSS enclosures, designed to provide users
with access to media files that are located at the URLs specified in the 

<enclosure>

 tag. In earlier versions, these links were

ignored by the browser. To access the media file, users can click the link in the web feed content.

The browser displays media files based on their type. If a URL links to an image file, the browser displays the image in the browser
window. If the URL links to an audio or video file, users can open the file, or save the file to the media card or device memory. If
the user opens the file, the browser opens the media application and begins streaming the content. Streamed content is not
saved; users cannot replay media unless they download it again.

Script processing

When the BlackBerry® Browser parses a web page, it processes JavaScript® as it is encountered. Scripts can be inline or external.

When the browser encounters a 

<script>

 element, it pauses web page rendering activities while it retrieves and then executes

the script. You can use the 

defer

 attribute to prevent the script from being processed until it is called. Unless the initial web

page content relies on the outcome of a script, you should use the 

defer

 attribute.

In BlackBerry® Device Software version 4.5 or earlier, if the BlackBerry Browser encounters any script that produces common
dynamic HTML effects, the browser executes without error but produces no visual effect. JavaScript that is not supported simply
produces an error, which, unless handled within the script, prevents the script from executing any further.

Script processing behavior varies slightly, depending on the network gateway the browser uses to access the content.

If the content is accessed through the BlackBerry MDS Connection Service network gateway or the BlackBerry Internet
Service Browsing network gateway, the network gateway typically pre-compiles the JavaScript before sending it to the
BlackBerry device. The server can compile the script faster than the device can. When the server compiles the script, it can
reduce the time required for the browser to process the script, thereby reducing the length of time that the browser is
blocked from rendering the web page.

One obstacle to server-side preprocessing of the JavaScript occurs when an 

eval()

 function is used to execute JavaScript

code. The network gateway cannot precompile the contents of an 

eval()

 function. Instead, the BlackBerry Browser must

compile the code.

If the content is accessed through a WAP network gateway, the browser compiles the code and reads any auxiliary JavaScript
support libraries that are referenced from the web page.

Fundamentals Guide

Script processing

22

Содержание BROWSER VERSION 4.7.0 - FUNDAMENTALS GUIDE

Страница 1: ...BlackBerry Browser Version 4 7 0 Fundamentals Guide...

Страница 2: ...SWDT432285 432285 1205031032 001...

Страница 3: ...wser content support and features 13 BlackBerry Browser content support 13 BlackBerry Browser features 14 Network gateway features 15 3 Content and network management in the BlackBerry Browser 16 Cont...

Страница 4: ...ontent preprocessing and filtering 30 Image optimization 30 Progressive downloading of images 31 Pushed content delivery 31 Pushed content supported by the BlackBerry MDS Connection Service 32 Pushed...

Страница 5: ...delivery strategies The BlackBerry Browser is designed to communicate through several network gateways Developing content with the wireless environment in mind can help you to work around some of the...

Страница 6: ...y Browser that is included with BlackBerry Device Software version 4 6 or later as functionally distinct from the first generation of the BlackBerry Browser that is included with earlier BlackBerry De...

Страница 7: ...perform the following actions Action Result touch the screen lightly This action highlights an item or places the cursor in a specific location It is equivalent to rolling the trackball or trackwheel...

Страница 8: ...e same direction touch the screen in two locations at the same time This action highlights the text between the two locations or the list of items such as messages between the two locations To add or...

Страница 9: ...andtheappropriatecharacterkey Totypeothersymbols userspresstheSymbol key When users press a modifier key a typing mode indicator appears in the upper right corner of the screen SureType keyboard Black...

Страница 10: ...m word list When users use the multi tap input method they press a letter key once to type the first letter on the key and twice to type the second letter For example to type run users would press the...

Страница 11: ...exists on the organization s network behind a firewall The BlackBerry MDS Connection Service acts as a proxy for the BlackBerry Browser and makes requests on behalf of the BlackBerryBrowser TheBlackBe...

Страница 12: ...BlackBerry MDS Connection Service The BlackBerry Internet Service Browsing network gateway Wireless service providers can use the BlackBerry Internet Service Browsing network gateway to offer BlackBe...

Страница 13: ...hat are different from the initial values WAP 2 0 The WAP Browser configuration sends HTTP over wTCP The BlackBerry Browser sends the HTTP request toaWAP2 0proxy whichthenforwardstherequesttotheserver...

Страница 14: ...does not support the WMLScriptCrypto library WAP 2 0 The WAP 2 0 protocol supports end to end HTTPS Communication is encrypted using SSL or TLS for the entire connection between the device and the co...

Страница 15: ...tial support in BlackBerry Device Software version Full support in BlackBerry Device Software version markup HTML 4 01 3 2 1 4 6 tables 3 8 4 6 image maps 3 8 4 6 frames 4 2 4 6 CSS 2 1 3 8 4 6 SVG 3...

Страница 16: ...features Category Feature Included in BlackBerry Device Software version navigation wireless service provider customizable bookmarks 3 8 one click link navigation 3 7 bookmarks 3 2 navigation history...

Страница 17: ...signal push applications supported WAP push applications supported content optimization image optimization supported 3 6 or later supported enhanced image optimization supported 4 1 5 or later suppor...

Страница 18: ...lackBerrydevices with a trackball Page View renders pages on a 1024 x 768 pixel canvas appropriate for displaying content designed for desktop computers and scales the content to fit the width of the...

Страница 19: ...ware version 4 3 Colors and background Fonts excluding font variant Positioning Theheightandwidthproperties introducedinBlackBerryDeviceSoftwareversion 3 8 Text text align text decoration properties o...

Страница 20: ...ckBerry Browser CSS Reference Form support Forms work very well in the BlackBerry Browser Entering text is very simple on BlackBerry devices and users can easily navigate through the form with any of...

Страница 21: ...ce Software version 4 6 or later the BlackBerry Browser provides full support for forms Support was introduced in BlackBerry Device Software version 4 6 for the following elements button fieldset labe...

Страница 22: ...olumn View table rows that exceed the width of the device screen wrap to fit the width of the screen and the row cells are stacked vertically In BlackBerry Device Software version 4 6 or later the Bla...

Страница 23: ...quality that is specified by the user Progressive image rendering is available with the following browser configurations and the associated network gateways The BlackBerry Browser configuration and t...

Страница 24: ...ibute to prevent the script from being processed until it is called Unless the initial web page content relies on the outcome of a script you should use the defer attribute In BlackBerry Device Softwa...

Страница 25: ...OM access The level of JavaScript support in the BlackBerry Browser depends on the version of the BlackBerry Device Software that the BlackBerry device is running BlackBerry Device Software version De...

Страница 26: ...JavaScript engine is blocked until it receives a response from the server and asynchronous requests the JavaScript engine can process other JavaScript functions while it awaits a response However beca...

Страница 27: ...ent it scans the content for patterns that appear to be telephone numbers or email addresses and creates links that will open the phone or email application If necessary you can override this behavior...

Страница 28: ...rry Device Software version 4 3 or later the BlackBerry Browser implements the navigation history in a dedicated history page in which recently viewed web pages are organized by date and domain In ear...

Страница 29: ...edit the title and URL of bookmarks and they can search for and delete specified bookmarks Bookmarks can be used to access content even when users are outside a wireless coverage area Bookmarks in th...

Страница 30: ...ese caches manually using the BlackBerry Browser Cache Options Cookie storage The BlackBerry Browser maintains a cache to store cookies The browser provides cookie support based on the Netscape format...

Страница 31: ...he wireless network SomeWAPnetworkgatewaysmightoptimizecontentandmightconvertHTMLtoXHTMLorlimitthesizeofimages WAPnetwork gateways are not designed for a particular user agent and therefore cannot off...

Страница 32: ...etocheckiftheuserhasturnedoffsupport for markup such as tables or external resources such as JavaScript style sheets or embedded media If the network gateway finds that support for a resource is turne...

Страница 33: ...eway version 4 1 3 or later and the BlackBerry Internet Service Browsing network gateway support progressive downloading of images When the network gateway compresses an image it also divides the file...

Страница 34: ...e targeted to receive the pushed content TheBlackBerryMDSConnectionServicesendsthecontenttotheappropriateBlackBerrydevicesusingtheusers emailaddresses The BlackBerry MDS Connection Service manages the...

Страница 35: ...space or the user might choose to manually clear the pushed content cache Pushed content supported by the BlackBerry Internet Service Browsing network gateway YoucanpushcontenttoBlackBerry deviceusers...

Страница 36: ...SMS messages If an existing WAP connection is not available the service record provisioned for the GPRS and CDMA networks typically uses SMS Wireless service providers can restrict incoming SMS messa...

Страница 37: ...t Transfer Protocol HTTPS Hypertext Transfer Protocol over Secure Sockets Layer IP Internet Protocol IPPP Internet Protocol Proxy Protocol JSON JavaScript Object Notation LAN local area network MIME M...

Страница 38: ...rotocol TLS Transport Layer Security URI Uniform Resource Identifier WAP Wireless Application Protocol WLAN wireless local area network WML Wireless Markup Language WTLS Wireless Transport Layer Secur...

Страница 39: ...Provide feedback To provide feedback on this deliverable visit www blackberry com docsfeedback Fundamentals Guide Provide feedback 37...

Страница 40: ...ment to provide any such changes updates enhancements or other additions to this documentation to you in a timely manner or at all This documentation might contain references to third party sources of...

Страница 41: ...DING AIRTIME SERVICE PROVIDERS AND THEIR RESPECTIVE DIRECTORS EMPLOYEES AND INDEPENDENT CONTRACTORS IN ADDITION TO THE LIMITATIONS AND EXCLUSIONS SET OUT ABOVE IN NO EVENT SHALL ANY DIRECTOR EMPLOYEE...

Страница 42: ...TOSUPERSEDEANYEXPRESSWRITTENAGREEMENTSORWARRANTIES PROVIDED BY RIM FOR PORTIONS OF ANY RIM PRODUCT OR SERVICE OTHER THAN THIS DOCUMENTATION Research In Motion Limited 295 Phillip Street Waterloo ON N2...

Отзывы: