import"nsIMicrosummaryService.idl";
Definition at line 48 of file nsIMicrosummaryService.idl.
long nsIMicrosummaryGenerator::calculateUpdateInterval |
( |
in nsIDOMNode |
aPageContent | ) |
|
Calculate the interval until the microsummary should be updated for the next time, depending on the page content. If the generator doesn't specify an interval, null is returned.
- Parameters
-
pageContent | the content of the page being summarized |
- Returns
- the interval in milliseconds until the next update request
microsummary-generator equivalence test generators equal if their canonical locations equal, see uri attribute.
AString nsIMicrosummaryGenerator::generateMicrosummary |
( |
in nsIDOMNode |
aPageContent | ) |
|
Generate a microsummary by processing the generator template against the page content. If a generator doesn't need content, pass null as the parameter to this method.
XXX In the future, this should support returning rich text content, so perhaps we should make it return a DOM node now and have the caller convert that to text if it doesn't support rich content.
- Parameters
-
pageContent | the content of the page being summarized |
- Returns
- the text result of processing the template
readonly attribute boolean nsIMicrosummaryGenerator::loaded |
readonly attribute nsIURI nsIMicrosummaryGenerator::localURI |
readonly attribute AUTF8String nsIMicrosummaryGenerator::name |
readonly attribute boolean nsIMicrosummaryGenerator::needsPageContent |
readonly attribute nsIURI nsIMicrosummaryGenerator::uri |
The documentation for this interface was generated from the following file: