Hi,

I noticed the export doesn't include the 'Advanced Poll' module. Is it possible to include it? Particularly the binary one.

Thanks.

Comments

redmonp’s picture

This is something which a custom module needs to be written for, but which would utilize the I/E api.

Anonymous’s picture

Hmm,

It requires a new module, is this because the actual advanced poll is an external module? Because i've seen definitions for other features that work, like the 'importexportapi_poll.inc' for example.

The defs a bit unique from eachother, and I'm having trouble understanding the docs with reference to data extraction from multiple tables, hence not going much forward in creating my own def =/

Anonymous’s picture

I still don't understand it.. I mean it could be something as simple as

SELECT
`users`.name,
`node`.title,
`advpoll_choices`.label
FROM
`votingapi_vote`
INNER JOIN `users` ON (`votingapi_vote`.uid = `users`.uid)
INNER JOIN `node` ON (`votingapi_vote`.content_id = `node`.nid)
INNER JOIN `advpoll_choices` ON (`votingapi_vote`.content_id = `advpoll_choices`.nid)
AND (`votingapi_vote`.tag = `advpoll_choices`.vote_offset)

if you change .tag from varchar to int. But how even to put that into the api, it's still very confusing.

sun’s picture

Status: Active » Closed (fixed)

Although the API is already working and is somewhat stable (i.e. it's not particularly volatile), it is still in the alpha stage, and is for developer consumption only.