rdf:bookmarks

This datasource holds the user's bookmarks. Each bookmark holds a title and URL and information about when the user has visited the bookmark and the schedule for checking when the URL is checked for updates. The root of the bookmarks datasource is NC:BookmarksRoot. You can also use the roots NC:PersonalToolbarFolder for the folder holding personal toolbar items and NC:IEFavoritesRoot for the folder containing the imported IE favorites.

More information about rdf:bookmarks

このデータソースは利用者のしおり(ブックマーク)を保持している。各しおりはタイトルと URL 、および利用者がいつしおりの URL を訪れたか、それらの更新をいつチェックしたかについての情報を持っている。しおりデータソースのルートは 'NC:BookmarksRoot' である。 Personal Toolbar の項目を含むフォルダに対するルートは 'NC:PersonalToolbarFolder' 、取り込まれた IE の「お気に入り」に対するルートは 'NC:IEFavoritesRoot' であり、それらを利用することもできる。

rdf:bookmarks の追加情報


利用可能なリソースプロパティ:

BookmarkAddDate (http://home.netscape.com/NC-rdf#BookmarkAddDate)

The date and time that the bookmark was added.

ブックマークが追加された日時。

Description (http://home.netscape.com/NC-rdf#Description)

The description or comments of the bookmark. The user can set this in a bookmark's property window.

ブックマークの説明やコメント。ユーザはブックマークのプロパティウィンドウでこれを設定できる。

LastModifiedDate (http://home.netscape.com/WEB-rdf#LastModifiedDate)

The date that URL was last modified.

URL が最後に更新された日付。

LastVisitDate (http://home.netscape.com/WEB-rdf#LastVisitDate)

The date that URL was last visited.

URL を最後に訪れた日付。

Name (http://home.netscape.com/NC-rdf#Name)

The name of the resource. This will be the title of the page.

リソース名。ページのタイトルである。

Schedule (http://home.netscape.com/WEB-rdf#Schedule)

The schedule for checking the bookmark's URL for updates. This is a string of the following format:
<days to check>|<times to check>|<duration>|<alert options>

For example: '1|4-11|30|icon,alert' means check on Monday between 4 and 11, every thirty minutes. If the page has been updated, the icon changed and an alert is displayed. The first value may contain multiple digits for multiple days. Additional alert options are 'sound' and 'open' to play a sound and open a new window. These options correspond to those in the bookmark properties dialog.

ブックマークの URL をアップデート用にチェックするスケジュール。次のフォーマットの文字列である。
<days to check>|<times to check>|<duration>|<alert options>

例えば : '1|4-11|30|icon,alert' は、月曜日の (午前) 4 時から 11 時に 30 分間隔でチェックすることを意味している。ページが更新されたとき、アイコンを変更してアラートを表示する。最初の値は、複数の日それぞれに複数の時刻をもつことができる。補助アラートオプションは 'sound' と 'open' で、音を鳴らすと新しいウィンドウを開くである。これらのオプションは、ブックマークプロパティダイアログのそれぞれに対応している。

ShortcutURL (http://home.netscape.com/NC-rdf#ShortcutURL)

The shortcut keyword for the resource. You can set this for a bookmark in its properties window.

リソースへのショートカットキーワード。プロパティウィンドウでブックマークに設定できる。

URL (http://home.netscape.com/NC-rdf#URL)

The URL for the resource. This will be the URL that is opened when a user double-clicks on the entry in a tree.

リソースの URL。ツリーのエントリでユーザがダブルクリックしたときに開かれる URL である。

status (http://home.netscape.com/WEB-rdf#status)

This property is set to the string 'new' when an update check determines that the page has been modified. This only applies when the schedule has the icon alert option set.

ページが更新されたとアップデートチェックが判断した場合、このプロパティは文字列 'new' に設定される。スケジュールがアイコンアラートオプションのセットを持つ場合にのみ適用される。

type (http://www.w3.org/1999/02/22-rdf-syntax-ns#type)

The type of bookmark. This will be set to one of three possible values. The bookmarks window uses the type to determine how to render the bookmark, including which icon to use.

  • http://home.netscape.com/NC-RDF#Bookmark: A regular bookmark.
  • http://home.netscape.com/NC-RDF#BookmarkSeparator: A bookmark separator. You will typically draw a horizontal line for this type.
  • http://home.netscape.com/NC-RDF#Folder: A bookmark folder, which can contain other bookmarks.

ブックマークの型。3 つのとり得る値のうちの 1 つに設定される。どのアイコンを使用するかも含めてブックマークをどう描画するかを決めるために、ブックマークウィンドウはこの型を使用する。

  • http://home.netscape.com/NC-RDF#Bookmark: 通常のブックマーク。
  • http://home.netscape.com/NC-RDF#BookmarkSeparator: ブックマークのセパレータ。この型は、一般には水平線として描画される。
  • http://home.netscape.com/NC-RDF#Folder: ブックマークのフォルダ。他のブックマークを含むことができる。

利用可能なリソースコマンド:

Commands can be called with the DoCommand method of the nsIRDFDataSource interface. This method can take a number of arguments, which are described in the descriptions below.

コマンドは nsIRDFDataSource インタフェースの DoCommand メソッドで呼ぶことができる。このメソッドは、以下に述べる多数の引数を取ることができる。

deletebookmark (http://home.netscape.com/NS-rdf#command?cmd=deletebookmark)

Deletes a bookmark from the datasource.

データソースからブックマークを削除する。

deletebookmarkfolder (http://home.netscape.com/NS-rdf#command?cmd=deletebookmarkfolder)

Deletes a bookmark from the datasource.

データソースからブックマーク [訳注:ブックマークフォルダのこと?] を削除する。

deletebookmarkseparator (http://home.netscape.com/NS-rdf#command?cmd=deletebookmarkseparator)

Deletes a bookmark separator from the datasource.

データソースからブックマークセパレータを削除する。

export (http://home.netscape.com/NS-rdf#command?cmd=export)

Used to export bookmarks to a file. Use the URL property to specify a file URL to export to.

ブックマークをファイルに書き出すのに用いる。書き出し先のファイルの URL を指定するには URL プロパティを使用する。

import (http://home.netscape.com/NS-rdf#command?cmd=import)

Used to import bookmarks from a file. Use the URL property to specify a file URL to import from.

ファイルからブックマークを読み込むのに用いる。読み込み元のファイルの URL を指定するには URL プロパティを使用する。

newbookmark (http://home.netscape.com/NS-rdf#command?cmd=newbookmark)

Adds a new bookmark to the datasource. Arguments include the Name and URL of the new bookmark. You should pass nsIResource objects for the name and URL as arguments.

データソースに新しいブックマークを追加する。引数には新しいブックマークの名前 (Name) と URL を含める。名前と URL 用に引数としてnsIResource オブジェクトを渡す必要がある。

newfolder (http://home.netscape.com/NS-rdf#command?cmd=newfolder)

Adds a new bookmark folder to the datasource. Use the Name argument to specify the folder title.

データソースに新しいブックマークフォルダを追加する。フォルダのタイトルを指定するために、Name 引数を用いる。

newseparator (http://home.netscape.com/NS-rdf#command?cmd=newseparator)

Adds a new bookmark separator to the datasource.

データソースにブックマークセパレータを追加する。

setnewbookmarkfolder (http://home.netscape.com/NS-rdf#command?cmd=setnewbookmarkfolder)

Indicates that a bookmark is a folder.

ブックマークがフォルダであることを明示する。

setnewsearchfolder (http://home.netscape.com/NS-rdf#command?cmd=setnewsearchfolder)

indicates that a folder is the one used for storing search results.

フォルダが検索結果を保持するためのものであることを明示する。

setpersonaltoolbarfolder (http://home.netscape.com/NS-rdf#command?cmd=setpersonaltoolbarfolder)

Indicates that a folder is the one used for the items that appear on the personal toolbar.

フォルダが personal toolbar に現れるアイテムのためのものであることを明示する。


Copyright (C) 1999 - 2004 XulPlanet.com