PDA

View Full Version : Buyers Guide -> Wiki


arn
Jun 21, 2006, 02:38 AM
To perhaps the delight of many...

I figured I'd hand over the buyers guide to the wiki so that other people besides myself can update it. And, for those who are enterprising, they can break down the iPod lines themselves.

I've created an extension to handle it. Consider this one a test:

http://guides.macrumors.com/PowerMac_Buyer%27s_Guide

Check the source.


<buyersguide>
searchproduct=powermac
title=PowerMac
image= Image:powermacg5.jpg
recentnum=10
released= 20051019145545
released= 20050427090437
released= 20040609083915
released= 20031118083735
released= 20030623171845
released= 20030128084214
released= 20020813084317
released= 20020128095752
</buyersguide>
==Recommendations / Comments==


searchproduct is a term used internally so stories related to a product can be listed. legal terms are pretty broad: ipod, powermac, macbook, macbookpro, ibook, imac etc...

title is just the pretty properly capitalized title

image is a wiki-uploaded filename.

recentnum tells the script how many of the recent stories to generate (legal values 1-20)

released - this will not be obvious to the average user. This is the long ID number that is generated for articles. Example:

http://www.macrumors.com/pages/2006/06/20060620173932.shtml

20060620173932 is the unique ID number for that article, and also timestamps it. You simply enter the number corresponding to a product release, and the script does the rest. It also links to the appropriate story.

thoughts? changes?

This script should be flexiable enough so if someone wants to break out all the U2 iPods, they should be able to.

Note. An automatic recommendation is not included at this point. I could, but alternatively, people could compose more thoughtful recommendations.

arn

HexMonkey
Jun 21, 2006, 04:49 AM
Sounds great!

Were you planning to have them all on the same page or on different pages like in the test page?

One option would be to create a template for each product (eg have one that contained the same content as the PowerMac example). Then a main page could use all the templates to show all the products (like the current buyer's guide), and the individual product guides could also be shown on the respective product pages (eg have a Buyer's Guide section on the iMac page).

Not that this would be a perfect solution, one problem being that it wouldn't be as obvious how to edit them (although some instructions could be added as comments to the source of the pages that use the templates). Just an idea to consider.

bigandy
Jun 21, 2006, 05:56 AM
Looks like a great idea. I wish I wasn't at work, or I'd look into it and get some real feedback back :rolleyes:

arn
Jun 21, 2006, 10:53 AM
Sounds great!

Were you planning to have them all on the same page or on different pages like in the test page?
....
Not that this would be a perfect solution, one problem being that it wouldn't be as obvious how to edit them (although some instructions could be added as comments to the source of the pages that use the templates). Just an idea to consider.

not entirely sure. The one issue is that the buyersguide.macrumors.com domain is relatively well linked so I would want that page to be sort of a index page still for the individual guide pages.

My first impression was to have them as individual pages... as I think there might be a fair amount of useful non-automated info that could be applied... such as concerns about the heat or other advantages disadvantages to individual products.

just not sure

arn

Eraserhead
Jun 21, 2006, 02:21 PM
Tried to do the iPod page but as I accidently made the images for the Mini/Shuffle too big to start with now I have shrunk the images they seem to come out all pixellated which needs fixing :(

Eraserhead
Jun 21, 2006, 05:08 PM
Some thoughts, I think Buyers Guide's need a category on the guide's site and then http://buyersguide.macrumors.com/ can link to it.

PS Thanks arn for wikifing the buyers guide it's a great idea! :)

HexMonkey
Jun 21, 2006, 09:18 PM
The one issue is that the buyersguide.macrumors.com domain is relatively well linked so I would want that page to be sort of a index page still for the individual guide pages.

Yeah, that was one reason I was thinking an overview page would be beneficial; I'd think it would be more useful for quickly skimming over multiple products than a list of links.

If we went the template route, we could have summary information in each template (ie just the content of the buyersguide tag), and then display only this information in an overview page, with links to individual pages for each product. The individual pages could then use the template but also go into more detail, eg adding buying advice and links to related pages.

arn
Jun 22, 2006, 02:07 PM
If we went the template route, we could have summary information in each template (ie just the content of the buyersguide tag), and then display only this information in an overview page, with links to individual pages for each product. The individual pages could then use the template but also go into more detail, eg adding buying advice and links to related pages.

that probably sounds like the best way to go.

I'll need to work on it some more.

arn

HexMonkey
Jun 22, 2006, 09:15 PM
I tried implementing the existing pages using templates. It mostly worked, except for the iPod Buyer's Guide page. It seems it won't work if I use templates and have multiple buyersguide tags on a single page, instead outputting messages such as the following in place of the guides:

UNIQ26fa189070e5ddb9-buyersguide4b32a0d65ea3f0d700000001

Specifically:
With all buyer's guides embedded into the page, they all work properly.
With all buyer's guides using templates, the last one displays properly but the rest don't
With a mixture of embedded and template buyer's guides, everything except the last template guide is not displayed properly.


The templates contain only a buyersguide tag and a noinclude tag.

For an example of the problem, see an old version of the iPod Buyer's Guide page.

HexMonkey
Jun 24, 2006, 04:54 AM
Another problem: There doesn't seem to be a valid search term available for the Cinema Displays (presumably because there's no subdomain for them like for the other products).

See Template:LCD Buyer's Guide.

SpaceMagic
Jul 5, 2006, 11:04 AM
not entirely sure. The one issue is that the buyersguide.macrumors.com domain is relatively well linked so I would want that page to be sort of a index page still for the individual guide pages.

My first impression was to have them as individual pages... as I think there might be a fair amount of useful non-automated info that could be applied... such as concerns about the heat or other advantages disadvantages to individual products.

just not sure

arn
arn, when you say the Buyer's Guide is relatively well linked to you mean externally or internally around the MR/MacBytes/Etc sites?

Eraserhead
Jul 23, 2006, 06:25 PM
Could the Buyer's Guide pages have a subcategory under guides? I think that would be useful...

HexMonkey
Jul 23, 2006, 07:55 PM
Could the Buyer's Guide pages have a subcategory under guides? I think that would be useful...

Yeah, I had planned on adding one once the above issues were resolved, but I'll add it now (Edit: Done).

Any news on the above problems arn?

Eraserhead
Oct 29, 2006, 08:56 AM
These look like they work properly now, I guess http://buyersguide.macrumors.com can be forwarded to http://guides.macrumors.com/Buyer%27s_Guide

Diatribe
Nov 23, 2006, 12:11 PM
These look like they work properly now, I guess http://buyersguide.macrumors.com can be forwarded to http://guides.macrumors.com/Buyer%27s_Guide

Yeah, why have 2 pages? :confused: