Re: Solvent's default property names?
Hi Jim,
No, Solvent does not allow you to add your own menu items. However, if
you don't mind hacking, it's not so hard to add it to the code. Open up
the solvent extension directory. On Windows, it looks something like this:
C:\Documents and Settings\[user id]\Application
Data\Mozilla\Firefox\Profiles\[profile
id]\extensions\{377cc066-cb3e-4ee8-ba63-39e761ad1cbe}
Then open up the file
chrome\solvent\content\code-panes.xul
and search for DOM.nameItemCustomProperty. This is where those menu
items are specified. The implementation of DOM.nameItemCustomProperty
itself is in
chrome\solvent\content\scripts\dom.js
Cheers,
David
Jim Eng wrote:
> When you are creating a scraper, Solvent provides a list of basic
> property names (URI, title, address, etc) and allows you to create
> "custom properties" and "custom variables". Suppose I want to create
> several scrapers for different sites using existing tags such as
> Dublin Core or LOMS. Is there a way to customize the interface to
> define the list of items that will show up in the "Names" drop-down?
>
> Thanks.
>
> Jim
>
>
>
> Jim Eng
> jimeng_at_umich.edu
>
Received on Tue Jan 24 2006 - 17:36:40 EST
This archive was generated by hypermail 2.3.0
: Thu Aug 09 2012 - 16:39:18 EDT