Jump to content

Translations:Plasma/Public Transport/CreateServiceProviders/6/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with "У файлі скрипту має бути принаймні одна функція, що називається "parseTimetable" і приймає один аргумент...."
 
(No difference)

Latest revision as of 12:59, 31 December 2010

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Plasma/Public Transport/CreateServiceProviders)
The script file should at least contain a function named "parseTimetable", with one argument. The complete HTML body will be given to the script through that argument. It's then up to the script to parse the document. Here's a list of functions that get called by the PublicTransport data engine to let the script parse a document:

У файлі скрипту має бути принаймні одна функція, що називається "parseTimetable" і приймає один аргумент. Через цей аргумент функції має передаватися код HTML повністю. Обробку коду виконує сам скрипт. Нижче наведено список функцій, які використовують рушій даних PublicTransport для обробки документа скриптом: