Hello,
Could it be possible to remove the dependency on blog module? There's no need to use it if the website does'nt allow other users to have their own blog (which I assume is the majority of drupal installations). Instead it could be great to have an administrative screen asking who the author is and which content type is to be used to display the daily digest.
I don't know how to do this (my programming knowledge is really poor) but I think studying "feeds module" (it makes something like this, but for a general purpose) could bring some clues.
Regards
PS: I thought I had written on this (and I even got an answer) but since I can't find it in the pretty short issue queue or my own issues I decided to post it (again?)
Comments
Comment #1
jadestorm commentedDid you not get the email from the other one? =/ Anyway, you were commenting on an unrelated issue so I closed that issue and asked you to create a new one. =D Anyway, this theoretically shouldn't be hard to implement . . . I think. As for the blog part, I actually went with that because it was enabled by default on my drupal installs and it seemed to make the most sense. lol!
Comment #2
jadestorm commentedComment #3
c-c-m commentedSorry for the inconvenience, jadestorm.
I'll be looking forward to see if you succeed on it.
Thanks
Comment #4
dayer4b commented* fixed the typo in the title.
I'm commenting so that I get notified on this. I look forward to this dependency being removed.
Comment #5
tomotomo commentedI haven't explicitly removed the blog module dependency, but a recent commit to 6.x makes this work with any content type set with the variable dailytwitter_content_type (e.g. "page"). If you don't have blog, then you should just delete the line "dependencies[] = blog" in dailytwitter.info.
Comment #6
trentoncolley commentedJust remove line 3 of the dailytwitter.info file. Problem solved.
Comment #7
c-c-m commentedI'm afraid that if I remove line 3 daily twitter doesn't request blog module but instead tries to publish nodes as blog content types. I am not a programmer at all, but I've seen that dailytwitter.module has several instances of "blog". Eg:
I have to assume that I could replace all instances of "blog" by "story" and the problem would be solved, but I don't feel confident about it.
Comment #8
tomotomo commentedYes, see that line "$node->type = 'blog';"? It will create a blog type node. You can change it there, or set the variable dailytwitter_content_type to a different type if you run the latest dev version.