I've been using Drupal as part of my engineering design course and am worried that my students are copying from each other. I'd like to use the similarity feature of ATR to check for similar pages, but right now that doesn't seem possible since node (blog) content can't be queried. How hard would it be to implement a node context text source, and is it something that can be done quickly (e.g. a couple of days)?

Comments

xano’s picture

It is pretty straightforward, especially if you know your way around in Drupal. Check atr.api.php for the hooks you can use to expose nodes as a text source. The way you let ATR check nodes is up to you. This can be done using cron, manually from the admin interface or perhaps if your students submit their content.

Was this helpful enough?

retsofaj’s picture

It's that "especially if you know your way around Drupal" part that's worrying (I'm an old XSLT guy; PHP and I still aren't fully on speaking terms). I have a TA who is more familiar than I am, so hopefully he can hack something together without breaking our system.

We hadn't expected cheating from our students, so we weren't prepared for it (naive, I know), the exam is on the 15th, and ideally I'd like to show them a similarity report in lecture on Monday so that they realize that we're watching. Gonna be an interesting weekend...

xano’s picture

- Hooks are well-known programming methods for interaction between systems. They're used all over Drupal, so with a little reading using them shouldn't be too hard.
- The next thing is that you need to decide when to do the similarity check. Upon node submission? (hook_nodeapi()) Using cron? (hook_cron()) Depending on that answer you need to implement additional hooks that execute the review.

xano’s picture

Project: Automated Text Review » Text Review
Assigned: Unassigned » xano
Status: Active » Fixed

This feature has been added to Text Review, which has replaced most of Automated Text Review's features. There is no way to compare two different nodes yet, you can compare two revisions of an existing node.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

xano’s picture

Assigned: xano » Unassigned