Will Drupal 7 help Semantic Web actually and finally come to live?

If you’ve been working with Drupal 6 (D6) and have taken a little time viewing

  • A. Dries’ talk (mp4 video file) at Drupalcon Boston this year — especially the bit about focusing on data, exports and imports, deliver in different formats, reusing data — quoting him: “so that no single party owns the data”
  • B. strolling through D6 modules already in development using RDF in some way or another, especially exhibit demos

then you really come to think of the next step of the web. Taking into account the goals set for the upcoming release (especially usability, WYSIWYG and media handling) on the one hand and through heaps of modules Drupals already extreamly flexible and extensable I really can believe it will be a “killer” as mentioned by Dries. And thereby premiering to take semantic web ceriously on a large scale.

So I propose on a more abstract level that web 3.0 (or whatever the buzzword might become) will depend on departing from the perspective “data in tables” and move towards “data in graphs”.

The really critical about this, though, could fast become that people will even more difficultly keep track of the truth or the sources of information in that matter. Only think about our media world as it is already where journalists/bloggers (name them as you wish) in large parts more or less do the copy-paste rather than actually investigating. One just hast to become even more aware I guess, which is not all that bad!

On a side note: I’m only disappointed that there was no mentioning of a couple of small but really effectiv and effectfull modules: Teleport, WYMeditor, Live or LiveSearch. But I guess they are just to specific; even though WYMeditor working properly and broadly would really give Drupal an extra push-up wow-effect that is not only shiny blink-blink.

Update: I just finished watching the video (l wrote this articel about half way through) and what do I see? Berners-Lee beeing cited saying: “From the Wourld Wide Web (WWW) to the Giant Global Graph (GGG)”. And what did I say? 😉

Have you ever looked at a vector graphic so watch the time fly by?

Well, here you can do so right now (you need Opera or another browser with SVG-viewer; FF3 doesn’t do it — it’s a Scalable Vector Graphic)

… Damit, why doesn’t wordpress allow .svg? Well, then you will have to follow this link above (I was going to show it in this post).

Drupal: An easy way to set up multiple sites on localhost

This works for a couple of subdomains/sites only. If you need to have a load of sites or other settings this is not for you. On the other hand this method needs no web server configuration.

  1. In your systems hosts file (Windows: In your favourite text editor open %SYSTEMROOT%\system32\drivers\etc\hosts and on Linux it’s /etc/hosts.
  2. Find the line defining 127.0.0.1, i.e. your local horst, erm localhost 🙂 and append sitename1.localhost to the end of the line. do so for every site name you need.
  3. Go to your apaches/webservers documents folder holding your drupal installation. Say it’s htdocs/drupal than you need folder sites. There should be at least two folders called all and default. Copy default and name it sitename1.localhost, i.e. excactly the string you added to your hosts file (again you need to replace sitename1 by your site’s name but do include the dot!).
  4. In your web browser type sitename1.localhost/drupal to test if drupal shows up at all (meaning your OS resolves your “domain name” correctly) and if it shows your old content (meaning it works).

Now you have two options to actually set up your “new site”: Either edit the settings.php that should be in the new folder to use a diferent data base (that should be well-stocked with drupal data) or just install a fresh drupal site. You achieve the later by doing:

  1. Delete settings.php. That should leave you with a file named default.settings.php.
  2. Point your browser to sitename1.localhost/drupal/install.php and do everything like you did with the first install but use a diferent database (or the same but different database prefix).
  3. Done.

Resources

  • settings.php

Furthur reading

Chris Pirillo lifts up the web — They call it Gnomepal…

Sit back, watch the video

and read more and more or more.

I’m not quite sure, yet, what I think of it, but putting the “Can it really be realised/implemented?” question aside, his idea really sounds stamin! I’ll definitely will have an eye on it and would love to see those ideas aroused!

By the way, the Drupal module it obviously started with is Activity Stream.

Side note: What do I tag this with? Where is wordpress’s option for the infinity-all-possible-ever-thought-of-tag?

Drupal 6: Redirect Users to your Frontpage/Startpage/node after they logged in

In Drupal 6 this can be done with core modules like this:

  1. enable Trigger module
  2. add an action
  3. add advanced action at the bottom and choose “Redirect to URL”
  4. use description regardless of how you will use it but rather describing what this action does; e.g. “redirect to start node”
  5. as URL apply “node” (without the quotation marks). Instead of node you can redirect to any url you like. See my screenshot for how it could look.
  6. set-up the appropriate trigger
  7. from the drop-down list at “Trigger: After a user has logged in” select your new action from just now
  8. log out and back in again to test it

Note: In the links provided you need to change “your-domain-path-to-drupal” with your actual domain name to become something like http://example.com/admin. Or navigate as usual if you now where to find the settings pages in Drupal 6. If you happen to have clean urls disabled you might know already that you need to prefix the admin path (as every other path) by “?q=” so it all together looks like this: http://example.com/?q=admin. This, however, doesn’t concern the node parameter where you redirect to. That’s always an internal relative path without the leading slash; or some full url of corse.

Update 05/2009: If you want a simple module to do that for you useLogin Destination. To redirect user/1 to /admin and site users “back” to the page they logged in from the following PHP snippet should work for Drupal 6 (not tested, feedback welcome!):

global $user;
  if ($user->uid == 1) {
    // Redirect the Administrator
    return 'admin';
  } else {
    return ($_REQUEST['q']);
  }

Resources

Joomla 1.5: Using my own favicon via template?!?

Well, there am I trying to convince joomla 1.5 to use my template’s favicon instead of the default jommla flower Original favicon of Joomla a.k.a. The Flower. But no matter what it wouldn’t let me replace it by my own. What I’ve done so far:

  • create the .ico file with Gimp, 32×32 (tried 16×16 also), 4 bpp 16-slot palette
  • placed it in ../templates/my_template/favicon.ico
  • reloaded page in browser

But still no favicon is shown in neither Opera nor Firefox under Windows.

Update: It seams I somehow used wrong colour palette, layer or whatever optioins. After I uploaded a png file to FavIcon and used the result it at least shows in Firefox. Opera seams to chuck up on the HTML header created by Joomla:


<head>
  [...]
 <title>Welcome to the Frontpage</title>

  [...]
  <link href="/joomla/templates/div_template/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  [... repeated multiple times somehow ...]
  <link rel="stylesheet" href="http://localhost/joomla/templates/div_template/css/template_css.css" type="text/css"/>
  <link rel="shortcut icon" href="http://localhost/joomla/images/favicon.ico" />
  <link href="/joomla/css/template.css" rel="stylesheet" type="text/css" />
</head>

As far as my understanding goes Opera doesn’t mistaken as to overwrite the earlier favicon.ico link with the later and hence (as Opera does) show the correct, i.e. intended favicon for a glimpse of a second and than show none as the /joomla/images/ one is not there. If I place a copy in that directory on the server Opera also shows the icon — I asume the wrong one though!

Well, anyway, now I know where the rub is…

Update 2008/05/08: I should have digged into templating a bit further and not just take it “as is”. Now in the html header of .../templates/my_template/index.php I just leave out the line where it points to the joomla template but rather only have one “shortcut icon” href as below:

<head>
	<jdoc:include type="head" />

	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />

	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/typography.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/browserhacks.css" type="text/css" />
	<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/icon/favicon.ico" />
</head>

Is just my WordPress.com blog broken or is there a general server problem? — update

Wordpress broken. Red header in admin sectionSince I was editing a post yesterday night (around midnight CET) there is a red banner at the top of my wp-admin area and it shows “WordPress.com Blog” instead of my own. I can edit post, create new ones (like this one) about fine; with the exception that the tinyMCE hangs when after hitting the ankor icon ( see picture )… I was just about to insert the screen shots as I noticed I have 10GB of upload space, I can upload more file formates, among others mp4, avi, ogg, but I cannot use them! I cannot upload anything anymore. After the upload process in the area where normally one gets the option to insert the picture into the editor it gets redirected to the wordpress.com front page. Could there be a bug in wordpress? I did try to upload a larger (but <50MB) mp3 fileSuddenly I got 10GB upload space but cannot use it earlier on today. But that could definitely not be the reason for things not to work properly since the problems started to occur already yesterday night as said before. What should I do? I hope this can be viewed at all (e.g. via direct links from search engines), since calling sysblogd.wordpress.com puts me to the wordpress.com front page again. No way to show my blog’s content! I guess I’ll just have to wait a little until the support is open again (it shows “Support Temporarily Closed” now).Update: I seam to have found the bug: As I changed the theme from Freshy (I chose Ambiru for starters), which I have used over a few month now, everything seams ok. Also, the red header is gone. So let’s try to upload the pics I promised above… works again, too. When I think about it, as I was collection of Story of the year videos using copy/past with firefox I had something like the following in my post’s code:

[dailymotion id=<code>5zYRy1JLhuGlP3BGw]</code>

This must somehow have messed up the theme Freshy. The conclusion for me is: Don’t rush or even push solutions you don’t at least feel if not know they are just right for the problem. If you feel an obstacle in the way, what-so-ever, let it rest. The solution will come flying to you when it’s write. And also, the well stressed but never-the-less true saying “There lies a chance in every problem”: Now I found an even better theme for my blog 🙂

Is there an overlay software (display marker) to mark/draw right on screen just as if it was a real print outs?

The ideal scene I have in mind is using a tablet PC in full screen mode, eg. displaying a PDF presentation or a web page design, and some meeting attendant draws his/her ideas/changes/notes on the display, marking areas, writing notes right in place, etc. A piece of software that is (graphically) on top of the display actual in sight to the observer, i.e. has the focus, collects all those “screen touches” and assigns them to the open file. But this should also work with just a normal PC/mouse set up or any tough screen environment. The hard bit would be, so I reckon, for the software to assign some “notes capture” to a certain page of an open document been presented, a subset of the document that is. The two ad hoc solutions that come to mind include either a support for the overlay software by the presenting software, so the assignment is actually done by the presenter. Or else the overlay software hast to have an understanding of all possible file formats’ structures, i.e. PDF, bitmaps, just anything that should be marked. Now, if this file is opened the next time, and the overlay software is activated, it should from it’s database display all notes associated with this document’s page.

Read the rest of this entry »

Learning CMS — Finding the Right System for Small Business Needs

For a small business pharmacy shop looking to presenting themselves with a small website I’m aiming at a web CM system that integrates the following:

  • Content should be edited via a highly configurable, yet minimal rich text editor so there is no difference to writing text in Word with even less function offered (only predefined CSS-Styles for title, paragraph, etc.). No need of code view.
  • Possibility to save as draft or direct publishing and therefore some sort of (email) notification system.
  • Get access to that editor via the website’s “frontend” (FE), i.e. in-line editing — showing a pen marker at the position that could be edited right in place by the logged-in user, similar to the wiki stuff — so there is no backend for the ordinary user.
  • For the administrator (web designer, … someone more technically minded) there should be some sort of backend for user management, reviewing drafts to be published, configuring the rich text editor (could be done “externally” on the system file level).
  • News handling: Basically able to set date to publish and expire per entry/article. So writing of news articles ahead of time becomes possible. Something like tt_news (see also manual) from typo3, could be far less complex.
  • Define roles per user, or more accurately define per document who can do what with it.
  • Separate content from formatting. Use e.g. CSS for formatting and store pure content in database with “meta” formats like header of css class xy.
  • Multi language support per document.
  • Versioning of articles.
  • Easy to use with public hosting services (I don’t want to have some old, noisy fan sitting in my living room; and buying a new hardware just for 2.0 MB of website? No way)

So this would be something in between of typo3 and a simple blogging system like wordpress or serendipity, I guess.

Read the rest of this entry »

sysblogd Welcomes Readers Exclusively on Sipgate’s Website

While evaluating whether to use my Sipgate VoIP number as my fax receiving number 24/7 (with area code instead of the dus.net costly 01805) I stumbled upon a notice platform. Sipgate prints the whole string given as an argument to the url http://www.sipgate.de/user/index.php?message= as “welcome message”. Look for yourself. If you’re looking for escape sequences and don’t mind to ignore the German bits stop by at user-archive.de.

sipgate-message.png

Concerning the fax question I couldn’t figure out whether sipgate would pass fax data as fax data via VoIP so my fritz!box could actually handle the incoming fax correctly. Haven’t had time to just test it. But if so I’ll report it.