Log of /contributions/modules/votesmart/votesmart.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 5 22:17:01 2008 UTC
(14 months, 3 weeks ago)
by
vauxia
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.3: +41 -3 lines
Diff to
previous 1.3
Ongoing development of a full election import, grabbing a full set of candidates
Attempt to use geo fields, if avaialable, to facilitate district-level lookups.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Aug 17 15:36:33 2008 UTC
(15 months, 1 week ago)
by
vauxia
Branch:
MAIN
Changes since
1.2: +292 -32 lines
Diff to
previous 1.2
Latest batch of changes -
- When linked to a Vote Smart record, all CCK, body, and title fields can be
populated with values from the remote records.
- Added format callbacks for certain fields, e.g. 't'/'f' can become 1/0
boolean values, newline-delimited lists can become multivalued fields, etc.
- Handling of "list" values, such as office type, office branch, state, etc.
- Reformatted API input array, which should hopefully make things clearer.
- Continued populating 'tables', to include candidate records.
- Experimental factory/bulk import working. For example, you can now import
all candidates for a particular state election.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Aug 10 01:42:51 2008 UTC
(15 months, 2 weeks ago)
by
vauxia
Branch:
MAIN
Changes since
1.1: +43 -6 lines
Diff to
previous 1.1
You can now create a CCK field to store the remote Vote Smart API record.
Fields are mapped to any other fields you select through a token system.
e.g.
$node->title = (remote data(id) : title_field )
$node->field_foo = (remote data(id) : foo )
When your node containing the key field is created/updated, the Vote Smart
data is refreshed and all of your node's linked fields are re-populated!
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.