Method and apparatus for acquiring network resource
Abstract:
A method and an apparatus for acquiring a network resource where the method includes extracting language configuration information of a browser, and placing the language configuration information into a language list, sending a hypertext transfer protocol (HTTP) request to a web server, locating a position of a media element, matching a value of a language attribute of a specified resource element in the media element with the language information in the language list, selecting a media resource address, and finally according to the media resource address, requesting a media resource from the web server and loading the media resource. Hence, the browser can automatically select a media file of a specified language version according to a language preference of a user, thereby reducing a workload of a website developer. Additionally, the user does not need to perform manual selection, thereby enhancing user experience.
Public/Granted literature
Information query
Patent Agency Ranking
0/0