This forum is for less technical discussions about the Drupal project, not for support questions.

Atom

When I use atom and validate it's feed, I get the error

line 9, column 21: id must be a full and valid URL (15 occurrences) [help]

    node/view/258

Not that it bothers me, but the feedvalidator gives the above error. Everything else is valid. I just installed 4.4 and this started. In 4.32, it worked perfectly and my feed was always validated right. Also when I turn ON html_tidy module, I get errors when I syndicate in ATOM and I think RSS. Maybe it's just me.



Thanks a lot.

Vishal
. Check my 4.4 install rocking vishalshah.org :)
Drupal is the coolest

page.module giving me hard time

In page type I added an include(); to the body section and selected PHP not html.
Below is the warning I get. It displays the output of my code but still that warning is on top of it. What am I doing wrong?

Thanks

warning: Unknown(): stream does not support seeking in /home/blah/public_html/modules/page.module(129) : eval()'d code on line 1.

Module Testers Wanted: Email This Page

Hi,

if any of you have the time, i'd be most gratefull if you would download, install and try out the emailpage.module

It works great for me on a couple of sites, but I'd love to get feedback, suggestions and bug reports.

What does it do?

This module adds a link to the navigation, and to every FULL node (not the main page teasers) to the emailpage script. Then users can send any page to a friend easily. (at least in theory hehehe!)

Recent blogs block

I have created another block for my site, so I thought I'd post it here in case anyone was interested.

It shows the last 3 blog entries for each of the last 3 users who have posted blogs.

So not only does it show you some recent blogs, it also encourages people to blog more often (to get their name pushed up the list).

It's relatively simple to change it to show the last x entries by the last y users.

Anyway, here's the code:

global $user;

if (user_access("access content")) {
  $blogs = "";

  $queryResult = db_query_range("SELECT n.uid, u.name, max(n.nid) FROM {node} n INNER JOIN {users} u ON u.uid = n.uid WHERE n.type = 'blog' AND n.status = 1 GROUP BY n.uid, u.name ORDER BY 3 DESC", 0, 3);

  while ($node = db_fetch_object($queryResult)) {
    $blogs .= l(t("<h3>%username</h3>", array("%username" => $node->name)), "blog/$node->uid", array("title" => t("Read %username's latest blog entries.", array("%username" => $node->name))))
      . node_title_list(db_query_range("SELECT n.title, n.nid FROM {node} n WHERE n.type = 'blog' AND n.status = 1 AND n.uid = " . $node->uid . " ORDER BY n.nid DESC", 0, 3));
  }

  return $blogs
      . "
". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."
"; }

What about Drupal scalability?

Hi,

I saw a benchmark on OpenBrick with Zope, SPIP, Templeet, and Drupal:

http://nexus.ouvaton.org/Benchmark_OpenBrick/

and it's very bad for Drupal v4.10....

Avatars in forums?

Is there a way to get avatars in forums? I'd like to see the poster's avater supplied in their user profile (with profile module enabled) displayed with their post. Is this possible? If not, do I look to make changes in node.module or forum.module?

-todd[1]

Pages

Subscribe with RSS Subscribe to RSS - General discussion