Hello there,

I need a module for my site that is quite complicated. The idea is that users would be able to identify themselves as owners of specific content. My goal would be to have the users drop a special file or image on their blog that contains a unique code which is attached to their account.

In the Drupal account, the user can send the identification "spider" to crawl on the blog to see if the code or the special file is on the server. Once the code is identified on the original blog, then that blog is "confirmed" to be owned by the drupal user.

This would be similar to the process at Technorati and Google Webmaster Tools to verify you really are the owner of the content you say you are.

If you are interested please contact me so we can start discussion about all this.
Patchak

Comments

derjochenmeyer’s picture

you can probably do this with out a custon module. you can use a CCK comuted field for example to create a custom code from their user information (some md5 string for example).

Then you make a new CCK field for every content type on your site where a user can enter this code.

Maybe i didnt understand completely what you are trying to do. Users are already attached to content in drupal.

----------------------
okay.cool

patchak’s picture

Hey there,

I need to identify a user and it's content to make sure he is the author of the content he's agregating on the site.

So I need a way for them to add something to their site that would allow my site to make sure they are the owner of the original content...

Is that more clear?
Alexis

panis’s picture

is this using the aggregator module - or something else?
Are you thinking of having them post a blog entry titled with or with a body containing a specific key in it and only after this post is located would the site be included?

patchak’s picture

Hey there Panis,

Yeah this is using leech module. I'm still not sure about the best method, but yes I think that them publishing a certain key into a blog post on their site and then sending the spider from my site to check out for the post would be the best way.

Not all blog owners have access to upload a file via FTP, so I can't let them upload a file. I was thinking using special code in a post, or maybe a widget they would have to add to the sidebar for identification purposes...

Does that make sense?

panis’s picture

I have something like this for the aggregator module - using a post with a special title on it. You could consider having them upload a small image on to one of their posts that you could check for identification purposes.

Leech module implementation is significantly different from the aggregator but the framework I have may work..

The implementation I have does the following in the aggregator module:

- form alter - when a new feed is added or existing feed url is modified - the refresh feed period is set to very high value and the refresh period is hidden in the aggregator form. A message is instead displayed asking them to create a new post with a unique identifier at the post url.

- after they create the post - they can come back to an admin page and click on "validate" to have their blog validated.

I can take a look at the leech module and see if this framework can be easily adapted to it.

patchak’s picture

Awesome!

If you want to take a look at leech module I'd be happy to. I think the solution as you describe it is the best alternative. Ideally they would have some special code generated by the site that they would have to paste or something like that?

What about the security issues? Is it easy for someone on the outside to try and hack the code to identify as someone else's blog?

Send me a mail when you have some news!
Patchak

panis’s picture

did I get this resolved? I did not receive a response to my email to you. You can find me at drupal@hyrme.com