The default bug view has changed. See this FAQ.

Update PageMetadata.jsm for Activity Stream's needs

NEW
Assigned to

Status

()

Firefox
Activity Streams: General
26 days ago
5 days ago

People

(Reporter: jkerim, Assigned: jkerim)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

26 days ago
In Activity Stream, we use the following module for parsing page metadata:

https://github.com/mozilla/page-metadata-parser


This includes lists of relevant DOM tags for things like high res icons, preview images, content types, etc as well as the logic to iteratively extract them from the document.


In mozilla central, there is the PageMetadata.jsm module:

https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/PageMetadata.jsm

which performs many similar tasks but does not include all of the data that we use in Activity Stream.

We can update PageMetadata.jsm to include all of the types of data we need by adding portions of our parser to this module.
(Assignee)

Updated

26 days ago
Assignee: nobody → jkerim
You need to log in before you can comment on or make changes to this bug.