Vote-Plugin

"Matthias Dieke" <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi,

I like to use the Vote-Plugin. It seems its not finished yet?

If you want I could "play" with it. I have some ideas...

At the moment the question and the possbile answers are stored in a
xml-file.

<vote collectionUri="/vote" id="99">
    <question>The Question</question>
    <answer key="1">The first answer</answer>
    <answer key="2">The second answer</answer>
    <answer key="3">The third answer</answer>
    <response>Thanks.</response>
</vote>

The answers of the users will stored in the db.

What should be done when the user like to start a new voteing?

- Create a new xml-file?
- change the current xml-file?
- expand the current xml-file, like:
<votes>
  <vote id="">...</vote>
  <vote id="">...</vote>
</votes>

- or should the vote-stuff done ONLY with DB-tables (e.g. vote_question,
vote_answer)


If you have no preferences, I will do it in my own way. But at the moment
I'm not sure what is "my way" ;)


Matthias





-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.