Web 3.0: tag based integration, Web 4.0: the physical world

Some parts in the overall high level architecture of the next set of web applications (web3.0) fall in to place. I will describe them very shortly since I am pretty sure that noone actually reads my ideas, so in this case, I write this to use this blog in the way it will be used in the future.

If we take a weblog as a starting point (since this is the easiest starting point), many users have “tagged” the content. E.g. I can “tag” all posting I write about stuff I find interesting in magazines I have (or newspapers). Which means that if you go to the tagging page “magazines” you will find everything I write about magazines.

If I write a lot about magazines I will further divide it e.g. tag postings with “national geographic”, “pc active”, “intermediair” etc…

These will become tag pages of their own, they will include postings on things I find interesting in the issue of National Geographic I read.

This is logical right? In fact many of use have been doing this. Now.. when the amount of postings grow you will find a structure of tags which actually define the things you write about. This is a datastructure AND an ontology, but your personal ontology on a decentralized platform.

The interesting thing is that this same datastructure and ontology is used by you on several other places.

So the next step is logical and unevitable to happen.

The first place where you use the same structure is on social networks. You define yourself by your hobbies, your favorite topics, the things you read. On business networks you define the companies you worked for, the skills you have and the groups to which you belong. These “words” are in line with the structure and tags within your blog. They will merge.

The second place where you use the same structure is in your household. When you write often about a magazine you are probably buying it or have a subscription to it. Which means it has a part in your household budget. In fact all the elements of your household budget are integrated in the same structure as your weblog. The reason for this is that there are reasons why you spend money on something. These are the same reasons as why you blog on the same thing. The goals are the same in the traceability matrix.

The third place where you use the same structure is in your job. The skills you have are a tag based hierarchy. They are in your cv. These things are in your head. Some bloggers might want to make some publications or just collect some handy link in their skill area. The thing which keep you occupied 8 hours a day has the same structure behind it. Your work generates revenue. This revenue enters your budget. This budget is used to spend money on things you relate to your goals (e.g. have fun reading comics). About this comics you write and about this comic you keep your bookmarks. Furthermore on this topic you want to socialize potentially on social network or find other people writing about it.

These four areas, I expect,  will merge in the future into 1 application or a set of highly connected applications having a high impact on your household. It will in fact totally change your household in all aspects:

- internal household portal (probably microsoft based or LAN Server Linux based)
- external household portal (several blogsoftware e.g. WordPress and SAAS providers)
- company resource portal (maybe a first sign is on your companys intranet)
- distributed social network (which actively connects with other uris)

It will improve so many things in our lives that just thinking of it is dazzling, yet it is so near.

Every thing which you can tag in your life will connect with experts, tips, services, documentation, community, business, personal, budget, todolist, addressbook and any other thing you can think of. If I write about a share I bought in company X, I will instantly connect with the news feeds of the company with other shareholders,can join community feeds, get an overview of recent blogpostings, all in my personal portal having direct influence on my behaviour.

The skills I need in my job will be directly linked in a world wide network. When I want to learn a new skill, I write about it and instantly connect to the community, to expert companies, other bloggers on the topic, wikipedia page, linkdirectories, etc…

It will enable us to skip the part of having to actively go to Google and search for information we need. The push part will become much bigger. It will also automatically launch you in communities based on the things you actually do. This will improve the quality overall of that topic since progress in the field surrounding that tag gets faster because people will join projects to improve parts, discuss and have the ability to start much faster since everything to be known is there.

The next step to take is if these four areas are the only ones which will merge and the answer is no.

The reason these areas could merge is because they are coupled on a tag basis. Which means that any application or website which runs on this tag hierarchy will merge and integrate. Now the ideas area endless.

Your wiki, your mindmap, your weblog, your budget, your job areas, your personal areas, your photo album, basically everything that contains “content” about your life will be coupled with millions of new possibilities because of this integration.

This is web3.0: tag based integration of software services, software applications, software websites.

I can even predict web4.0: the integration with non software based process areas and products. Meaning: you will walk through a supermarkt and your favorite piece of food (since it is in your budget, you write about it and you have an entry in your wiki) will announce itself to you with some news about the product. That will be web4.0.

If we now make a timeline with some concepts we posted about in the past years and even we take a look at new things: decentralized social networks, rfid, home servers, personal wikis, weblog tag portals and niche portals, ontologies, web2.0 services for anything you can think of, lifehacking, it all falls in place in the overall new integrated concept.

Decentralized Social Network

One of the reasons I’m investing all this energy in creating this hierarchy of seperate tag blogs is NOT because I want to earn money on niche portals.

One important reason is to be ready for the next internet phase: decentralized social networks / decentralized everything.

Meaning: all of my future tag based mini portals will automatically be discovered (via a not yet existing wide-spread discovery mechanism for tag based mini portals) to automatically be part in a larger group of blogs focussed on the specific topic indicated by the tag.

Actually I could imagine every WordPress installation turning into it’s own aggregation spider. Meaning: every WordPress installation will go out and search on every link you posted on your site for a certain little description file which would indicate if it matches. It could even keep checking the page/link for updates.

It could go on step further: if I have a tag “software” and I write about “totalcommander” and place the link then IF the totalcommander site contains the little file with in it some line “tag: software” then it would automatically be placed inside my linkdirectory in my sidebar… (!) Bye bye bookmarks. Bye bye startpages.

This can become even more complex, much more complex, much much more complex. However, just search on “decentralized social network” on Google and you will find a lot of activity and directions in this way.

Poor portals…everyone will go decentralized…

A first result on tagging

I did a first grouping of the re tagging exercise. All of the stuff I blog on is pretty much personal related (hence the personal blog).

me

me         | private, idea, thisweblog 
family     | maarten, bali

something like *leisure*

games      | xbox, risk, game
media      | lost, music, video, art, movie, photo, comics, scifi, tv
gadgets    | nikon , synology, kiss, pda, sonicare, gadget, car
hobby      | genealogy, food, travel, coding
leisure    | cool, free, babe, humor

something like *non leisure*

society    | brights, science, politics, green, human, skeptic, indo, socialweb 
knowledge  | howto, news, wikipedia, reference, history, links
home       | finance, baby, household. shop, fashion

something like *digital stuff* (but uhm leisure and non leisure)

blog       | blogging, writing, webmoney, wordpress, review, webgoodie
compie     | software, google, graphics, xara, it, coding 
web        | hosting, webtools, webdesign

It shows the areas on which I apparently blog on. I would need to investigate on why I want to blog on a certain topic. And then improve on my postings posted in a certain topic area since most topics contain a chaos on postings on the topic. This will happen in a later phase. I will also map them on existing ontologies e.g. dmoz or stumble categories. I will also refine them. In a general sense I will need to create a logical pyramid of tags where the top one is tied closely to the reason of this weblog: “me having fun”. It seems however, that not all tags can be tied to that reason.

Rethinking weblog navigation: structure and content

I was sitting in the car and rethinking navigation on weblogs in general. On large weblogs this is somewhat comparable with navigating the Internet. There are several ways to do so and I was wondering if I couldn’t write a plugin for WordPress to centralize all navigation possibilities within 1 widget.

1. Content Independent

1.1 Based on order of posting

1.1.1. Navigate posting by posting

Weblogs have already a build in navigation system: they are ordered by date. So you would typically see the newest blog postings on top and the oldest blog postings at the end. Pretty neat feature! The way to navigate through this is:

Use the scrollbar of your browser to scroll down to older postings. This is not needed to be included in the navigation panel. However it actually could be included if we would make the navigation panel a “floating on top widget” we could then include an arrow up and arrow down button to jump to the next posting.

image 

1.1.2 Navigate page by page

By using the forward or backward option which shows an amount of postings as defined to fit on 1 page. Obviously one of the buttons will be greyed out when either the newest posting or the oldest posting is on screen.

image

1.1.3 Navigate by a specific page

A variation on 1 is to actually make it possible to jump to a specific page within the collection of pages.

This is comparable with visiting all webpages on the Internet, one by one, just order them by IP address instead of URI (e.g. start with 0.0.0.0 and end with 255.255.255.255 (which is the end of the Internet), then order them on portnumber e.g. 0.0.0.0:0 to 0.0.0.0:99999 and then index the pages under it and put them all in a long list. Just click on the number you want to jump to.
On a weblog this can be compared with the paging tool, you start by reading the first page and you end with the last page. Each page contains several posts. It’s the oldest navigation we know. A book.
Content has nothing to do with it.

image

1.2 Navigate by dates

1.2.1 navigate date by date

Weblogpostings are written on a certain date. Sometimes you find the date to be a header and several postings under it. I did this for quite a while. It does not hurt the logical order of the page and is secretely another build in navigation component. You often find a little calender on weblogs to let you travel to specific date or month.

1.2.2 navigate month by month

Another variation on this is to group them on groupings of dates e.g. per month or per year. In most cases these are called the archives and you find a link to these on almost all weblogs. This is typically something I would regard as belonging inside a navigation element since it is another variant of 1.1 and really not dependent on content.

I have combined both the archives (in a duo pull down menu) and the calender in the to be widget:

image

1.3. More content independent navigation

Other content independent ways of navigation are e.g. to display all postings by one specific author (which is useless on my weblog since I am the only author) or e.g. by amount of comments. Apart from that there are countless more which I have put in a little pulldown menu (e.g. “latest 10”), in here could go the numerous (sql) queries on the database.

image

1.4 Random Post / Page / Month / Date

A random posting is not really tied to a “task” but for whatever reason people like to use it. Maybe to get an impression of the weblog overall or just to waste some time. Since it is tied to the concept the pulldown menu of e.g. author will contain the word “random” and the pages will contain the word “random”.

image

Random postings are not the same as Stumbling postings. In the case of stumbling a preselection of best postings has been made, so that is tied to the content on which more in chapter 2.

2. Content Dependent

Navigation on content is used internally but also externally of the weblog e.g. websites that aggregate my content will e.g. categorize all postings posted on a certain topic on the same page.

2.1 None Annotated Hierarchical

2.1.1 one level deep navigation (tags)

When you begin for the first time on the Internet you might keep a simple small list of bookmarks. When the Internet began this list was also small and simple. Just the location and a short description. Within the weblog, postings can be tagged. Though one posting can have multiple tags you still can reach only one set of postings under a single tag. It’s a 1 level deep navigation. While this is only about content, tagclouds can visually express how many postings are in side a certain navigation element: the tag. Obviously you can display tags on many other features e.g. on newest or oldest dates. On the Internet you can find countless variations on how to display tags. Many are extremely cool. For now, I choose the well known tag cloud for the example.

image 

2.1.2 two level deep navigation

Older internet directories like the statcounter directory or startpagina use a 2 level deep navigation. You have the topic and within the topic several subtopics (in the case of startpagina pages with table parts). Normally you don’t have this division inside a weblog, but obviously you could use your tags or categories to create within these specific pages subcategories to 2 levels deep. E.g. on my music page I have put some bookmarks in seperate webparts, which can be regarded a 2 level deep structure. This is typical something for in the sidebar. It’s also the directory structure e.g. stumbleupon uses so you align with those topics to start with (or align with startpagina topics) (or any of the other hundreds of choices).

In a sense categories are pretty cool because you get a little extra space in Google that displays your subtopics (if you have included the categories in your sitemap).

It’s not something typically present in the weblog world. There are “categories” but these allow up to N level deep subcategories. However in the WordPress taxonomy by default “tags” and “categories” are defined as a taxonomy type. We could just as well add a new taxonomy type which is standard only 2 levels deep, maybe call it “startpage” or something more logical. Since it does not exist in WordPress I will not add it to the widget. However it might be something to add. Most logically it would fit with the “links” one can save in there.

Hmmm… Let’s assume the links in WordPress can be ordered only 2 levels deep, then it can be added like this:

  image

(and function as your blogroll too). The links thing will contain collection of all your external links on seperate pages.

2.1.3 N level deep navigation

On the Internet you find directories of websites. These are first things people made when websites began to grow. Well known directories are dmoz, yahoo, about and startpagina. Within a weblog you can often navigate based on e.g. categories assigned (default in WordPress) or tags (default in WordPress). The first one is hierarchical, the second one is flat. In between is a long array of options e.g. startpagina is only 2 levels deep : topic of the page, header of table while dmoz is very deep.

In WordPress and basically any other Weblog system you can do this by categories.

 image

2.2 None Annotated – Non Hierarchical

2.2.1 Search on keyword

What Google did was taking all urls of e.g. dmoz and just ranked them inside their categories based on popularity. So it combined the already categorized urls with a popularity ranking. This was useful since noone likes to click through hierarchies.

So we can either include the default WordPress searchpage or the Google search (paid for each search) inside the navigation widget:

 image

2.2.2 Search on specific things / within categories / content based / etc…

We can specify an endless list of combinations on which people would like, within a specific task, to search. We will summarize this with “advanced search” which opens up a dialog with many extensible options maybe even complex formulas, objects and regex… we might even add extra information like “latest searches” or “based on your referrer information you are probably searching for this.

image

2.3 Annotated – non Hierarchical

2.3.1 Stumble

If we allow users to rate postings on our weblog we could let them stumble through our most popular postings to give a good feeling of our weblog. There are a multitude of plugins available e.g. “stars” to retrieve information on how your users feel on your blogs.

image

2.3.2 Based on Comments

You could even say that comments are a way of annotating too to give an indication of the content. You could think of “latest commented on” or “most commented on” type of queries.

 image

2.4 Annotated Hierarchical

2.4.1 Stumble within a categorie

Stumbleupon let’s you stumble within a certain category or even within a certain site like wikipedia. All the urls are annotated and judged by people and the more people like a certain page the more it will flow through the network. This can be added very simple.

image

2.5 Other Content

There is much much more navigational stuff to add. It would just seem like a neat idea to just place all ways of default navigation in a sort of default box so a visitor would have a 1 place control panel to navigate through your site instead of having to look for it at the top, at the side and in the footer.

Some extra ideas to finish off: add a sitemap link, surf by images and some default links.

image

Whenever I will find the time I will give it a go :)

WordPress Taxonomy based on dmoz

When you run a weblog about everything you should really blog about everything. However… how to categorize your postings?

There are several structures out there to help me. One of them is http://dmoz.org of which I once was editor of some categories and which was where Google started on by providing handy overview of the most clicked links in each category.

Dmoz, however contains 4600000 sites and has over 590000 categories *slik*

Continue reading

A blog about everything is better than a niche blog in the long run

I have been blogging for 10 years and produced over 9000 postings, besides that I made some other non blogs and developed some stuff along the way. Along the way this blog became the oldest still running weblog of the Netherlands. This post lays out the exciting road for the next 10 years.

For 10 years this was “the blog without a plan”. It had no niche focus so any marketing on “a blog about everything including what I ate yesterday” is a failure already. Then again, it had 1.3 million page views, but these are primarily based on some lucky shots with some weblog postings. There are many bloggers like me, they write about everything they like and they hate to focus on some niche market merely for profit on any kind of ads. The posts that are well received bring some joy but I would hate to dive into a certain area to only blog about topic X or start up a gazillion new niche weblogs. I just want 1 weblog.

I decided to take a new route, which is probably more than you would think of the idea in the first place. It extends weblogs to a new level and will probably change the concept of weblogs in the next few years. I may be one of the first again to take this new route.

I think every long running weblog will end up there in some years, so read ahead!

1. We blog to bring, subconsciously, order in the object cloud in our head

Many times during the past years the question “why do you blog” came up. It could even be the most asked question in the weblog world. I never had a satisfying answer (“to be part of a world community instead of my local 150 tribe”,”to earn money”, “to relieve some stress”) but in fact the answer was not exactly that.

Some pro bloggers do know why they blog. They have created niche blogs on some topics and try to earn revenue with ads, affiliate programs and so on. They try to become #1 in their niche market based on search engine positions and popularity in the niche communities. Some bloggers only write about a certain topic without revenue thoughts, they merely blog for fame and playing a role in the social community around a certain topic.

Most bloggers however just blog about everything, about the simple things that happen in their life, the new gadget they bought, some tips on what they learned or just some holiday pictures.

So what happens here is that they do blog about topics but these topics differ from post to post. In a sense they slowly, bit by bit, make a sketch of topics they have active in their conceptual framework but you have to read through the lines to pick up the underlying message. They tell a story and some words in the story are the main topics.

In this last case the general outline only becomes apparent with the use of using a taxonomy to make a distinction between posts. We are now all used to tagging and categories and who knows what other kinds of taxonomies for somehow labeling our posts.

This only become apparent when the collection of blog postings is big enough to slowly make these kind of distinctions.

I now have about 9000 postings and are slowly beginning to tag them. This delivers me a tagcloud where I can see where I blog about most and where I do not blog about. This tagcloud however does not have to be line with the things I want to blo about or what I think is important.

Once I do this last step: really make little collections out of the large collection of postings, then I have a list of topics that I apparently have in my mind and which I do want to share.

This list of topics are not just “topics”. They contain something. They contain information I want to share or want to preserve or want to communicate about. They bring order in the chaos of topics in my life.

And that is why we blog. To order information. We use tools like wiki’s and mindmaps to order topics. With weblogs we do exactly the same but in a much more chaotic and subconscious way but which, in time, contains much more possibilites than with a wiki or a mindmap.

With a wiki or a mindmap we sit down and almost visually work, consciously, to orden topics and add information where necessary. With a weblog we just “blog”. And only after some time we shift the blogpostings in some sort of order to have a totally different kind of set of information.

My action for the next years: I now have a collection of 9000 postings which I am slowly tagging. Every time I have a certain tag which contains enough postings and is somehow relevant I will create a new subblog for it and remove these items from the main blog. E.g. I just removed all private postings (which I labeled so far) from the main blog and put them all under http://edward.de.leau.net/about/private.

That is part 1 but that is not everything.

2. We blog to improve on certain topics in our life

Once we have such a subtopics, after finding groupings in the large bag of postings, we bring them in specific department of our site. WordPress does this automatically. You click on a tag and you get a page with only postings about that tag.

However, that there is a page for a certain tag may be so, but it only useful once the Blogger consciously knows that this subdivision is present to elaborate on.

What I now did is to create a specific page for a few first tags to experiment with. This will contain:

  • RSS feed specific for the topic: so that a user interested in a topic subscribes to that specific feed and so I can introduce that feed in specific communities around the topic. E.g. make it my footer in forums etc..
  • A specific header: to really give a unique look and feel to the subsite
  • A link section with outgoing links based on the topic. This is where weblogs are going to make the Internet more transparant: based on the specific pages with links on topics they will all become directories of links and startpages on its own with link collections on different topics the Blogger is blogging on.
  • Specific content for the topic
  • (not there yet) Links to other Topic pages in other Weblog Portals dealing with the same topic (see chapter 3)
  • (not there yet) Specific services I deliver on the topic and which could be shared in the general tag pages cloud over all weblogs.

Part 1 and Part 2 bring me to the third part which delivers the new idea for my weblog and possibly a lot of other weblogs

3. Simple Weblog Tag Archive Pages will become Weblog Topic Objects

If you have any background in the IT you will know that +15 years ago the object orientated development began. The  idea was that a program was not simple a long list of “if then” “while” statements but that one could create objects which contain both data and functionality. OO development has taken a storm. If you develop a program under Windows you just dive in the OO class hierarchy of Windows and work with your objects to develop any program.

About 10 years ago the web services idea began. An object (with data and functionality) could deliver functionality (etc…) over the web.

This is what a tag archive page will lead to:

  • the name of the tag archive page is that objects name.
  • the url of the weblog is the unique identifier of the provider
  • the services include: search for info, rss feed, community services and a lot more the owner will create
  • the link directories will be aggregated and scored based on topic over a gazillion sites
  • the objects can, in the future, interact with objects that have the same name on other blogs via a diverse set of standardized services ( this does not exist yet, I will invent it and implement it)
  • targeted advertising and means of income depending on the popularity of not the weblog but the specific tag page in a community. Maybe even automated advertising via webservices.

If someone just starts blogging he or she has no clue. Only after hundreds of postings he or she will find patterns. He or she may become an expert on certain topics she likes. Unconsciously he or she is finding the topics to start their new business on. This is why people are blogging, unconsciously.

If you look in a sidebar of a weblog you already will find some “stuff”. E.g. “widgets”. In most cases these widgets display something like “my last 10 youtube faved movies” or “50 days before our child gets born” etc… Now visualize that in the future these widgets you will place here will become, partly, services you will provide to others, so not only grab info from somewhere but deliver. Just surfing through thousands of weblogs for only the sidebar content will slowly put some ideas in your mind.

4. The Weblog Topic Objects will interact with Objects within your household

Apart from “communicating” with other sites on the Internet and Weblog readers, the objects a Blogger blogs about will become enstrangled with objects in their household. For instance a weblogger having a page about their vacation pictures will have a direct relation with the same collection of pictures in his or her household.

Software will arise which will enable users to manage these relations between household objects and weblog objects.

It will not only be collection of pictures ofcourse. Internally some household will have an object “bank” with all their personal bank financial information. Externally however, there will be postings about the bank and possible information widgets, community links, and more.

5. The Weblog Topic Objects will become the doorways to external parties to the household

If a certain workflow within a certain company or organization includes communication with a household, then we could try to set up some kind of workflow around objects within each household. That however will be hard to achieve. If we take the millions of weblogs as a starting point for creating these household portals then the interaction could go via a users own public household portal, formally known as weblog.

6. All objects and relations will find its place in a household framework

I have written about this before. But the complex interactions and zillions of objects will need some governance and standardization, this is why I began http://www.householdframework.org (content not visible yet). But it will take some time before the steps before mentioned will slowly be integrated in society.

Conclusion

This weblogposting is my kick-off to the things I am going to do with this weblog in the next years. In some ways it will not be a weblog anymore. It will be an extensive household portal. It will deliver services and will become in any sense much different. But, as I have taken 10 years to have no plan, it will probably take me 10 years to slowly implement the idea, but at least it now has a direction.

Welcome to the future.

Tag pages and WordPress 2.7

I run the latest version of WordPress from svn, currently “WordPress 2.7-hemorrhage revision 9123”. Usually that’s interesting because it allows me to see the latest patches and fixes on the tool. Basically I do not care that it is not “production” since this is just my personal weblog and it’s actually a breeze to just do exactly the things you wouldn’t do when developing a website for a company. Who cares.

However, in this state of svn I noticed that my tag pages (check the WordPress template hierachy for more information) are not working anymore. They somehow revert to a default page template.

Normally it works like this:

image

Suppose that I have a tag called “xbox” (which I have applied to all postings about my X-Box 360).

When I then create a php file called “tag-xbox.php” and place this in my template directory, this php page will handle the layout for my tag page on the X-Box. E.g. I could give it a specific side bar, it’s own header, it’s own RSS feed and anything else you can think of.

If this file does not exist WordPress will try to look for “tag.php” and only if that does not exist it will use the default “index.php”.

In the default WordPress installation the first part of the url is “/tag/” followed by the tag, but I changed it in the permalink settings to become “/about/” (because it’s kind of funny to read: “Edward de Leau about xbox” (…):

image

Well… as you can see on http://edward.de.leau.net/about/xbox it does not work anymore. the tag-xbox.php file is still in my template directory but somehow it’s not being picked up anymore. So I entered a question in the WP Forums, which, in my experience is many times a sort of void box. But who knows who will give an answer to it.

I’m not 100% sure either that it is caused by 2.7 because I did change some things, luckily all my changes are on my home svn server so I can doublecheck those changes.

So let’s get off my lazy b. and (yawn, stretches fingers) dive into the php code again of WordPress to see what has changed.

First things first. Let’s see if someone has already entered an issue about it on trac. Hmm… as far as I can see noone has reported this issue yet.

hypothesis 1: My first guess would be that something has changed in “/include/template-loader.php” and as far as I can see something has changed, but merely the move of one of the checks a few steps down (I love Total Commander…).

image

So let’s take the lazy route and revert back to the old version, clean the wp-cache and see what happens…nothing… would be too simple..

hypothesis 2: So, maybe something has changed in the “is_tag()” check which is in “query.php” which has changed A LOT. Wow, how beautiful, all these nice informative comments and instaed of “The Big Query” it is now the “WordPress Query API”. Let’s take some time to enjoy the code and then jump to is_tag.

image

Well.. there were absolutely some interesting things in there to read but as far as I can see the code for the tag check hasn’t been touched.

hypothesis 3: So maybe its the get_tag_template() function that has been changed, which is in “/includes/theme.php”.

image

This has changed also a lot! Apparently the locate_template function now does the hard work of looking for the tag page. Maybe this new function is still incorrect. Let’s be lazy again and just comment this one out and use the old code.

BINGO! Now my tag pages appear again:

image

Now let’s see if we can write a patch for it and submit it to WP 2.7 before they release it…

image 

Since they are still testing it, it is more or less a unit test result. Let’s see if I can find out what is wrong with the new function:

   1: /**
   2:  * Returns the name of the highest priority template file that exists
   3:  * 
   4:  * Searches in the STYLESHEETPATH before TEMPLATEPATH so that themes which
   5:  * inherit from a parent theme can just overload one file.
   6:  * @since 2.7
   7:  *
   8:  * @param array $template_names Array of template files to search for in priority order
   9:  * @param bool $load If true the template file will be loaded if it is found.
  10:  * @return string The template filename if one is located.
  11:  */
  12: function locate_template($template_names, $load = false) {
  13:     if (!is_array($template_names))
  14:         return '';
  15:     $located = '';
  16:     foreach($template_names as $template_name) {
  17:         if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
  18:             $located = STYLESHEETPATH . '/' . $template_name;
  19:             break;
  20:         } else if ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
  21:             $located = TEMPLATEPATH . '/' . $template_name;
  22:             break;
  23:         }
  24:     }
  25:     if ($load && '' != $located)
  26:         load_template($located);
  27:     return $located;
  28: } 

update (see issue #7685)

Westi writes:

“Nothing is wrong with locate_template.  The fact is that the code in 2.6.x allows for textual tag templates 2.7 for some reason expects them to be numeric tag ids. The change is in get_tag_template() which now wraps an absint around the result of get_query_var ”

Let’s go to a new layout

One lesson from the past years is: make a screenshot of your old design before you complete wipe it :)

The idea of this layout was of course “family”. I wanted to completely integrate the outside look with our internal intranet wiki and web sites and seamlessly use the same look-and-feel everywhere thus having one central theme.

I wanted to do much more integration between our internal intranet stuff and our external stuff and slowly grow to a sort of household portal consisting of external components and internal components and some integration in between and create a shared data model consisting of all possible items in our household: persons, addresses, photos, videos, blogs, finance, news, info, maarten, scotty, and so on.

the underlying philosophy was also that I wanted to display the transition from a “single student” to a “married father” and reflect that in both the url and the look and feel. And I wanted to integrate the other household members in the site.

However… the idea could be worked out much more, I could spend some time trying to get “the other blogs” filled, and I could work out some ideas somewhat more, but I also want to try out some new things since CHANGE is gonna come :)

So… let’s move to new “design” (kuch) and possible again to a new url.

 image

It itches again … lets do a new Blog WordPress Design

image Once in a while it itches again and I look at my blog and really hate it. That time has come again. So I’m planning a new design. I’m sketching some of the ideas.

width – I’m going to change the width. It’s now based on a width so that it fits on smaller screens like the laptop of my wife :) But since my wife now has a new widescreen laptop :) :) I’m go to use more of the width available. The normal posting has a width of 750 pixels. The sidebar has a width of 230 pixels but I’m going to enlarge to sidebar to 500 pixels. Including some margins that will mean that some people are going to scroll, since I’m no longer going for completely fluid. I want the sidebar to always be “a sidebar” and not drop to the bottom

main menu -  I’m going to out-phase the family look. Basically the  sites/blog of my wife and son are never updated (no time) so that’s no use. The cat will also drop out but I will keep their subdomains. I don’t know yet how I will style the main menu but since I want to include a lot of more stuff in there it will remain a pulldown menu.

postingboxes – the posting boxes will remain white since that is good for photos with transparancy. They still need to be 750 pixels since I don’t want to walk through 8500 postings to check if all look good. I want to change the header. Maybe I’m going to make the subtitle again with the date. The bottom of posts is also going to change, I’m going to add again some social bookmark tiny buttons including “e-mail this” since I read that this is used in 50% of the cases. I will change the way the comments line looks (again) and I will add for some tags a special banner. These are the tags which have gotten a special about page.

comments – comments will go to the right, since I have the intuitive feeling that a reader likes that much more and it feels much more community oriented. The comments will go on top and the entry form goes below.

widgets – widgets will remain on the main blog pages but I’m not sure if they will remain on the single pages, the tag pages or the “pages” pages.

footer – some of the items currently in the menu will go again to the footer, which I removed in the previous change. I hate footers. But people might expect a footer with some general cliche links.

tag pages – I’m going to extend the concept of the tag pages. Each will get a longer smaller banner all the way across the screen instead of a big bulky banner (e.g. see http://edward.de.leau.net/about/xbox). They will also get a micro banner which will be used underneath postings instead of the “text”. Each tag page will have its own link directory and will have it’s own mini community. This will need some custom php coding since I want to reuse code as much as possible, so it will heavy include “generic code”. It will also have its own RSS icon, etc…

front page – I read that the front page should be totally different thatn the look and feel of the rest of the site, so I will try to design a good front-page. I want to list all tag pages on there and some generic info about “me”, not to be egocentric but uhm… this is my blog.

single pages – as said single pages will have comments on the right, top and under there some specific widgets. The meta data will be placed elsewhere, the “related pages” will probably go away since I think noone ever clicks it and it only clutters the postings

advertising – Google ads will remain in there since they provide me with (a little) money. Which I see as interesting for this blog to cover the costs but not as “main purpose”.

second menu – the second menu will contain the search, rss feed (s), page navbar and stuff like that.

performance – the site is slow but I think this has to do with the fact that most of the traffic is going in my stumbleupon plugin for WordPress which takes an enormous amount of requests each day. I need to find a solution for that or just host that thing elsewhere, this will be my primary objective.

sidebar – the sidebar will both contain a single column (e.g. comments) as well as a double column (e.g. widgets and stuff).

dutch / english – Im thinking of splitting the blog in an english part and a dutch part however it seems most logical to do this based on tags. Since I probably not going to work backwards on 8500 postings. Are they dutch or english?

and some more – And ofcourse there are some more ideas on changing the design which I will discuss later. (Also fix some bugs like the “404” screen.

Eds links for 2008-07-04: Analysing the Web – Top 10,000 websites

Link

Analysing the Web – Top 10,000 websites
populair.eu hit rank 13.000 something today so I already went investigating what it will be like in the top 10.000 websites.

New Window Live Writer is Top!

imageLookit! The new Windows Live Writer supports a lot of new goodies that will make Bloggers all over the planet very happy.

We now have goodies like rounded corners, reflections and more to give images a little bit more touch.

imageFurthermore photographs are now tiltable as can be seen on the left, with an extremely dummy proof slider control (as can be seen on the right)

The inline cropping is extremly handy. Especially when you make screenshots and only want to include a little part in your blogposting. Normally I do a printscreen, copy it in Irfanview, do the crop, and then copy it in the WLW. Now I can skip the complete Irfanview tool though I will have to break out of that automatic habit. The inline cropping works WYSIWYG with you blogposting, so that you immediately have a feeling what the best crop should be.

The new addition to also center images is nice to have in the gui box, normally I had to enter the html code and hack that in myself.

It now also makes links e.g. http://www.google.com automatically a link, nice to have.

The Word count is pretty useful, when I was in the paid blogpostings phase of my life :)   I had to write a minimal set of words per blog posting and the only way to check that was to either manually count them or copy and paste the text in a text editor.

image

What to do with older invalid links in Blogpostings

When I stumble back to older blog postings I often find invalid links (sometimes it results in some nice urls te register).

But I wondered how I should indicate that the link is invalid or points to another site. If I just delete the link I don’t have the history anymore. If I don’t delete the link my Google Analytics reports will keep showing me these large invalid links list.

So I decided the following:

a) I will place some text about the update to explain that it has been updated and/or what happened to the company or web site in case it is interesting.
b) I will remove the link under the text but I will place the url in text format behind the text in ( )
c) I will strike the text which previously contained the url.

This should be one way of retaining a non invalid links archive and I should be able to automate it somewhere in the future, at least for the urls which now are 404.

If you have an older weblog and did something similar I would be interested in your solutions.

I’m #644 in the Million Blog List

I’m # 644 Get listed at www.millionbloglist.com here.

I wonder how they will manage to get 1.000.000 blogs in one wiki page?

New algorithm for Alexa Rankings

image Most forums regarded the Alexa rankings as pretty worthless. All depended on how many users with the Alexa toolbar would “stumble” on your site.

However, they changed it! They are using more sources as input, improved methodologies and better rankings. So maybe it will become a more accepted measure. But reading on numerous blogs about it… I doubt it.

So let’s peek where this private site is ranked at… hmmm … I’m ranked at 196,145 meaning there are 196,144 sites which are more popular than this one (how strange lol). Apparently I was ranked 55,000 somewhere in December, I can’t remember what that was about. One of these days I’m going to apply “SEO” to this blog… in some years…

Somewhere in december I had a reach of close to 40. But I don’t understand why it says pre million, I thought that reach was calculated in percentages. Let’s dive into Alexa to understand this.

WordPress TOPIC / Tag Pages

WordPress has a feature to provide separate sections (and rss feeds) per tag and category, these are fully customizable per tag or category.

The advantages for your readers when setting up some separate sections for specific topics:

- Your readers can subscribe to the RSS feed for the specified topic (since your readers might not be interested in the rest of the content of your weblog).
- Your readers can bookmark only the specific topic page in which they are interested and fellow webmasters may link the topic page specifically e.g. a website about dogs may link your dogs topic page and nothing else.
- Your readers can be served a customized subsite for the topic completely in design and style with the topic. E.g. you can give it a specific background or header.
- Your readers may find your personal bookmarks on a specific topic on the topic page.so you can provide a good link collection around a specific topic for your users as an extra service
- with a specific mail form per specified topic you can more directly guide and answer questions e.g. with a FAQ or a dropdown menu with subjects relevant tot the topic
- Your readers might find specific webcontent on a topic on these pages e.g. a wiki, a forum or a shop.

The advantages for you when you implement this:

- You might have a broader range of subscribers to your RSS feeds since they will be highly in line with the interest of the subscriber (especially when you blog about “everything”)
- You might get more in-links because specific sites on certain topics might link you faster when the content is 100% inline with their content and interest
- You can have great fun in creating original web content and graphics per topic. No more changing the layout of your blog every month, now you can concentrate on creating designs per topic!
- You can drop your bookmarks in these topic pages so you have you bookmarks on a topic all in one place, and might even get suggestions for more
- You might get more Advertisers, who may be willing to advertise on a specific topic page more than on your general blog
- You can use it to organize your thousands of blog postings and have more blogpostings on their topic frontpages for a longer time, creating more visibility
- You will get insight in your blogging habits and coverage on certain topics.

How you can do it

All I have to do is:

- tag your blogpostings. If you have 8000+ blogpostings like me, it will take an awful lot of time going through them, luckily there are some WordPress plugins which are (somewhat useful), I use the Simple Tags plugin and the inline tag thing. I have however not tagged even 10% of my postings (this will take some years…)
- create an empty file in your template dir called “tag-tagname.php”, so e.g. “tag-dogs.php”
- copy the normal archive.php content it and start changing the header, layout etc… You might also want to create a specific sidebar per topic where you place your bookmarks in and a link to the tag specific RSS feed, which simply the same url but with the word “/feed” behind it.
- you might want to change “/tag/” to something else in the WordPress admin menu, I choose “/about/”

Example

I started with a topic around my Synology NAS as a first test, you can find it under http://edward.de.leau.net/about/synology. I added some bookmarks, a header, a link to the specific RSS feed but I might change this page somewhat more, I’m still thinking on how to give it a unique look but still make it fit in the general website.

In the end I should be able to have a wide array of topics and I should see the gaps in my blogging around a certain topic more quickly. It also allows me to place the bookmarks around a topic in a convenient place.