|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Just looking at the Edit Templates in admin area. I tried changing some of the code in the main template using Dreamweaver, but it corrupted, I then tried a text editor and still it corrupted. MY QUESTIONS ARE: If I make the changes below using the Edit Templates in the admin area as demonstrated below.. will that also corrupt the template. And if it does, can I overwrite the corrupted file with the safe back up copy on my local machine.... or when I make the changes - will is screw something else up too? Basically, I'm looking to have my own title, meta tags etc. Thanks Dave  I want to change the following code from: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title><blah v="$title"> - <blah v="$mbname"></title> TO: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="description" content="MY SITE DESCRIPTION" /> <meta name="keywords" content="MY KEYWORDS" /> <title>THE TITLE OF MY WEBSITE</title> |
| You know it makes sense. |
|
|
|
|
|
Martin |
|
|
Posts: 4,514
Gender:  Male
Posts Per Day: 3.30
Reputation: 98.59%
Reputation Score: +210 / -3
Time Online: 35 days 13 hours 30 minutes
Location: UK
Age: 50
|
Dreamweaver shouldn't corrupt it, I use it all the time. Also use wordpad and programmers notepad and they've never corrupted. Are you reuploading in BINARY?
You can edit via the Admin Center - Theme Manager without a problem. |
| Martin's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Hi Martin
I've been breaking stuff all my life mate... anyways...
Cracked it: Just changed the code in the head from:
-----------------------------------------
<title><blah v="$title"> - <blah v="$mbname"></title>
<meta http-equiv="Content-Type" content="text/html; charset=<blah v="$char>" />
<link rel="stylesheet" type="text/css" href="<blah v="$templatesu>/<blah v="$dtheme">/template.css" />
-----------------------------------------
TO:
<title>My Own Forum Title</title> <meta name="description" content="My Meta Name Description." /> <meta name="keywords" content="My Keyword Content. " /> <meta name="author" content="Dave" /> <link rel="stylesheet" type="text/css" href="/blahdocs/template/X2/template.css" />
JOBS A GOOD UN AS THEY SAY. |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
Keep in mind if you add meta description or keyword tags to that template, those keywords or description will apply to every single thread on your forum. not just to the forums index... |
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Keep in mind if you add meta description or keyword tags to that template, those keywords or description will apply to every single thread on your forum. not just to the forums index...
Aye, thanks. I had noticed it was doing that. I'll have a look around for an explanation on how to do it right... I'm just experimenting right now... if you want to point me in the right direction... feel free. Regards Dave |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
|
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Hi iCONICA Had a little play around with the template.html You can easily adjust the meta data using the example below... in the head. The thing to know is that in all perl scripts "$Input"> is simply a place holder where data will displayed... dictated by the name after the dollar sign. So for example. Anywhere you place: <blah v="$title"> .... will display the title. Hope this helps. Regards Dave Quick word of warning: Anyone following my experiments should always 'back up' a 'safe copy' of any files you change - before loading them to your server. As I have said before... I've been breaking things for years. I wasn't kidding. -------------------------------------------------- <Example> <title><blah v="$title"> By The Name Of Your Forum</title> <meta name="description" content="The Title Of Your Thread Presents <blah v="$title">." /> <meta name="keywords" content="Keyword, Keyword, Keyword Etc" /> |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
the perl $ sign recalls data stored in a variable, there are similar things in most languages. Things get more tricky when you need to make that specific code show per thread or category.
To much hastle for the rewards, which as i keep saying are almost 0. Google doesn't use the meta tags now. The only ones they obay is the robots no follow, no index. |
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
| Revision History (1 edits) |
|
| |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Indeed, however when it is added to an html document, in the manner I described, it is simply being used as a place holder to display data in a similar method to using and SSI script. The data is added to the specific field in the data file and output to the specific place holder. E.g: If a specific field was called say: rainycity and you added the info: Manchester in that data field. Then added to the html document a placeholder: <blah v="$rainycity"> the output would be Manchester. Cheers Dave  |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
I know all this Dave, the problem is, how would you plan to make those only apply to a specific thread? As i said, with the very few tangible benefits and all the hard work involved i really don't see the point. I think your wasting your time.
The fact remains, to make that show different keywords or description for each specific thread you'd need to add different variables for each thread, thats tedious, pointless and as the forum grows, very difficult to keep up. |
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
It's gonna get confusing now, because I either misread your post or you made some changes to it... but I didn't see the Google bit 1st time of reading.
First to clarify.
I'm not discussing search engine optimisation, Google or any other SE.
--------------------------
What I am achieving here is having pages with titles and meta desriptions that reflect their content.
So for example: if my board is called 'Manchester United Forum'
And someone adds a thread with the title: Jane Has Got A Hairy Chest.
Then in the title of that page it will output: Jane Has Got A Hairy Chest By Manchester United Forum.
Equally by cute use of the placeholders in the meta titles, you can have the output reflect the content of each page in a similar way. Total job takes about 2 mins... longest part is deciding which words you actually want to use. Very very small job and not only will it add to the quality of your forum, it will look better, increase SEO and any pages listed by search engines will have a more sensible title.
This needs doing once on the template.html, or until your happy with the output.
Cheers Dave |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
I'm not sure I'm following you. First, What other use is there for the descriptions if not for SEO? Second, that feature is already there. the title of this page is "Editing Templates In Admin Area - Will I Break It? - E-Blah Community From what I'm understanding that's what your trying to achieve twice. its already there?  |
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
There are a multitude of uses, not least of those is having professional looking titles and meta data. And SEO by the way.
It takes only a few seconds.
The standard template is NOT set up this way... hence the repeating of titles.
E.g: Joe Bloggs Forum - Joe Bloggs Forum
If you want to see it work - just say so. I'll send you a PM with the web address... however my forum is for adults only and is not work safe.. up to you.... just don't complain about the subjects in the content... cause I'm not interested.
Regards Dave |
| You know it makes sense. |
|
|
|
|
|
iCONICA |
|
|
Posts: 506
Gender:  Male
Posts Per Day: 2.18
Reputation: 95.45%
Reputation Score: +21 / -1
Time Online: 9 days 7 hours 2 minutes
Location: Manchester UK
|
Oh that... Now i understand.
I did ask martin about that a while ago.
That problem only exists on the forum's root though. where the forum title is repeated twice. Then for threads its shown properly, with the thread title then the forum title. as it should be.
If you fix that with the double title on the forum root problem, Let me know!
Sorry for the miss understanding...
I'm still not convinced of any SEO benefit from metadata though. |
| Download All The Latest, Best Free Software!i-CONICA's Reputation: Increase |
|
|
|
|
|
Naturally Dave |
|
|
Posts: 19
Gender:  Male
Posts Per Day: 0.24
Reputation: 0.00%
Reputation Score: +0 / -2
Time Online: 5 hours 51 minutes
Location: Up North, England
Age: 47
|
Actually the standard template does not come with any meta description tags and the output of the title is very basic. If you are interested in seeing what i've done - keeping in mind I only discovered this software a couple of days or so ago... PM me.. I'll give you the URL to take a look... noooon need know you took a peep... it's not a hard core porn site... just adult bloke...ish jokes etc.
I put search engines on many of the sites I design - so meta data is very important... it is also important for SEO. |
| You know it makes sense. |
|
|
|
|
|
|