Ξ
August 15th, 2009 | →
0 Comments | ∇ Author:
NGPriest |
Continuing on from yesterday, we’ll move on to Tables and Lists
Tables can be created using the <table> tag and if you need a border, add a border=”1″, like <table border=”1″>
For rows, we use <tr> and for cells, we use <td>
To create a 2×2 table:
I know i put 2 in
The top is how i normally do it
The bottom has been source formatted
Which would give you:
With lists, you first pick a format, either:
<ol></ol> = Ordered list
<ul></ul> = Unordered list
And to display the data, you use <li></li>
Such as
ol vs ul |
|
|
- Item 1
- Item 2
- Item 3
|
|
And yes, i used a table, but for the 1st cell, i used a <th> instead of a <td>
<th> is also known as a Table Heading, which i added the tag colspan=”2″
So for the row, it’s <tr><th colspan=2″>ol vs ul</th></tr>
Ξ
August 14th, 2009 | →
0 Comments | ∇ Author:
NGPriest |
Okay, as i was teaching BananaStatio, a basic page is as follows
<html>
<head>
<title>This is the title</title>
</head>
<body>
This is the body
</body>
</html>
The <title> is the text that appears at the top of the screen
The <body> is the area, which is visible on the screen
Within the <body>, you can use tags, such as:
<b></b> = Bold (XHTML uses <strong></strong>)
<i></i> = Italic (XHTML uses <em></em>)
<u></u> = Underline (and people confuse this with links)
<sup> = Superscript
<sub> = Subscript
As well as <a> and <img> and their attributes
<a href=”http://www.ngpriest.com” target=”_blank”>NGPriest’s Blog</a>
<img src=”http://www.ngpriest.com/NGPriest.jpg” alt=”NGPriest’s Avatar”>
There are also <h1> <h2> <h3> <h4> <h5> <h6> tags, but most of those tags will be viewed differently on each site depending on the css used on each site.
For example:
h1
h2
h3
h4
h5
h6
So, that’s basic HTML, while using HTML, you may need to insert manual line breaks, which can be done by surrounding the paragraph with <p> and </p> or else adding manual line breaks using <br> (XHTML uses <br />) and lastly is <hr> (XHTML uses <hr />
And to code a HTML page, try Notepad/Notepad++ or else Dreamweaver
If you use FrontPage, i was informed that it puts ALOT of unnecessary tags
Any other programs, feel free to lave a comment
Ξ
August 11th, 2009 | →
0 Comments | ∇ Author:
NGPriest |
There have been a number of new platforms popping up recently that claim to increase your user engagement, get you more comments, increase your traffic, and more, through means that I consider short-sighted and harmful. Since people seem not to mind, I thought I’d write a guide for how toincrease the number of comments you get by 400-1,000% and ruin whatever shred of community you had on your site.
- Don’t Moderate. Allow anybody to post anything regardless of whether it contributes to the conversation or not. Stupidity, libel, hate, curse words are all okay because in the comments you have plausible deniability. Make sure people know that whatever they post will live forever, and anything goes. The few smart people you did have in your comments will enjoy responding to these folks. Advertisers love being next to a good fight, too.
- Allow Spam Through. I don’t mean the obvious viagra mortgage stuff, but the human-written and surface-thoughtful comment that “Florida Real Estate” or “Poll Widgets” decided to leave on your entry. Or the guy who comments on every post and has a 3-link signature. Or the lame startup that mentions itself at every possible opportunity, however tangentially related it is. Once spammers catch a sniff of this stuff getting through, they’ll descend on your site like locusts and instantly double or treble your “community.”
- Force Signup. You’re not a blog, you’re a social network cum media empire and even to leave the smallest comment you should make me fill out a profile, preferably with demographic information you can use in advertiser pitches later. (*cough* CNET) Please ignore useful services like Gravatar and try to get me to upload yet another profile picture because you think that makes your site more “sticky.” (In a sense of the word, it does.)
- Don’t Participate in Comments. Make it clear that your post itself is for annointed authors who don’t mix with the hoi polloi in the comments ghetto. Don’t link or highlight anything good from the comment section; those people silly enough to contribute content to your site for free should feel ignored. If an author does happen to drop in and make a comment, make sure it doesn’t stand out from the rest so it’s lost amid the sea of…
- Random Crap from Around the Web. Make sure any comments you have are buried by every random piece of “conversation” from around the web, especially retweets, Delicious links, Digg and Slashdot comments, pretty much anything will work here. Bonus points for unmoderated pingbacks, so every scraper spam blog copying the content of the post gets a free link in the comments.
- Design Like NASCAR. The more buttons, widgets, stickers, and visual clutter the better. I want to see every possible login system including but not limited to Facebook, Twitter, OpenID, Google Friend Connect, and that Myspace thing. Because of their respective crappy terms of service, use the giant buttons they insist on. Also include a megabyte of “share this” icons for every obscure service in every language. People love options! Complexity is for closers.
As a bonus, here are a few extra that don’t make any sense to me, but seem to be popular:
- Abandon Search Engines. Make sure your comment system is externally hosted on a separate domain and injects comments in via JavaScript, so everything is completely invisible to search engines. For bonus points, even if you have an existing database, say WordPress, with all of your comments, make sure the external service doesn’t synchronize any of the new stuff back into it, so you’re at the mercy of the external provider forever and ever.
- Be Famous! You’ll get thousands of comments on almost everything you post and make sure only to let through the most sycophantic and saccharine, don’t tolerate real conversation or debate. To spice it up every now and then opine on a known controversial subject like abortion and let your audience loose on each other like gladiators while you watch from the stands.
- Put the Comment Form at Top. This ensures everyone making a comment hasn’t read any of the discussion so they’ll leave a comment anyway even if the exact same thing has been said already or a question has already been answered.
- No Subscriptions. Don’t allow me to get email notifications of new stuff, make me visit your site and reload the page constantly to see if there’s anything new.
- Make People Click Click Click. Ideally do 1-comment-per-page CNET-style and your pageviews will go through the roof, but if you can’t stomach that just make comments-per-page setting low or have some sort of complicated nesting scheme.
- Treat Everyone the Same. If I’ve left hundreds of great comments over many years on your site, please make me wait in the moderation queue like some random stranger off Digg. Don’t let anyone know I’m a regular, or talk to me, or invite me to test out beta stuff, or pretty much anything that acknowledges my existence or shows any degree of trust.
- Don’t Ask Anything of Your Audience. No polls, surveys, or open-ended blog entries. What do those plebes know anyway?
Source: http://ma.tt/2009/08/kill-your-community/
Ξ
August 11th, 2009 | →
0 Comments | ∇ Author:
NGPriest |
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at ngpriest.com Port 80
It appears that a mp3 i uploaded used up 95% of this 10 day quota, which is 4750/5000 mb quota. (The other 5% was used by other files and other subdomains)
We have removed all the .mp3’s to prevent this problem in the future
Sorry if there are any 404 errors, but we want to prevent 509 errors before 404 errors.
Thanks for reading
NGPriest
NGElites
PS: Thanks to everyone who notified me of this error
Ξ
August 7th, 2009 | →
1 Comment | ∇ Author:
NGPriest |
I usually read the news daily for anything interesting
But i rarely see anything about Malaysia (maybe because i’m reading the Australian news?)
Well, this is the 1st one i’ve seen for quite awhile
Malaysian jailed for marital rape
From correspondents in Malaysia AAP August 06, 2009 03:26pm
A MALAYSIAN man who forced his wife to have sex with him has been sentenced to the maximum five years in jail, in what appears to be the country’s first successful prosecution under a new law against stop marital rape.
An official in the sessions court in eastern Pahang state said the man was sentenced yesterday.
The New Straits Times reported that the sentence is thought to be the first under a 2007 law that makes it illegal for a husband to cause “fear of death or hurt to his wife … to have sexual intercourse.”
“We hope this will inspire other wives who suffer in silence to come out and seek justice for themselves,” Judge Hassan Abdul Ghani was quoted.
The September 2007 amendment to the penal code that made marital rape a crime was considered a small step toward women’s rights in conservative Muslim-dominated Malaysia.
Activists say it doesn’t go far enough because the law doesn’t stipulate a minimum sentence, which means a man could go to jail for as little as a day even if convicted.
The 35-year-old was also sentenced to 10 years in jail and three lashes of the whip for forcing his wife to have anal sex, the official said.
Anal sex, even when consensual, is a crime punishable by up to 20 years imprisonment in Malaysia.
The sentences are to run concurrently, she said. She declined to be named because she is not authorised to make public statements.
The newspaper said the man had pleaded guilty to treating his wife violently to have sex at their home in April.
Source: http://www.news.com.au/story/0,23599,25891797-1702,00.html
Any comments?
Ξ
August 5th, 2009 | →
0 Comments | ∇ Author:
NGPriest |
Finally bought my tickets (bulk buying)
Unfortunately, i was planning on getting a discount for buying the tickets, but it unfortunately didn’t come with any discounts. Bought 9 tickets, (was hoping to buy 10) and it costed me $145.00
Ticket Type |
Ticket Quantity |
Ticket Price |
Online Concession 1 Day |
7 |
$17.00 |
Online Child 1 Day |
2 |
$13.00 |
Total: $145.00 |
The discount should be:
Concession: $14.45
Child: $11.05
Now, i need to get my showbag list ready
http://www.ekka.com.au/showbags.aspx
Ξ
August 2nd, 2009 | →
2 Comments | ∇ Author:
NGPriest |
iPhone OS 3.0.1 Software Update
Fixes SMS vulnerability.
Products compatible with this software update:
• iPhone
• iPhone 3G
• iPhone 3GS
For feature descriptions and complete instructions, see the user guide for your iPhone at:
<http://www.apple.com/support/manuals/iphone>
For more information about iPhone, go to:
<http://www.apple.com/iphone>
To troubleshoot your iPhone, or to view additional support information go to:
<http://www.apple.com/support/iphone>
For information on the security content of this update, please visit this website:
<http://support.apple.com/kb/HT1222>
The update is 297.9 MB, big or not?
Currently updating my iPhone 3GS now, will update the iPhone 3G later
And yes, there will be lag on the network
297.9 MB x 2 = 595.8 MB (Aditional 0.59 GB to the bandwidth usage)
Well, it’s now 2:37 AM and i’ve got church at 9:00 AM
(And i’m sick :'( (And everyone says i should get more sleep/rest/etc)
Banana, i assume you’re using the normal/web interface, i’ll attach an image to this post (posted via WLW, since i can’t be bothered logging in)
|
Title: NGPriest Caption: NGPriest’s Avatar Description: NGPriest’s Avatar Link URL: Select “File URL” Alignment: Not needed, CSS does this for us (I think?) Size: Don’t scew up my blog (please?)
|
After inserting the image, try editing it abit like:
<center>
<table border=”1″>
<tr>
<td>
<a tag>
<img tag>
</a>
<td>
</tr>
</table>
</center>
<center></center> = Anything between these are centered
<table></table> = These are table tags
<tr></tr> = Table Rows
<td></td> = Table Cells/Columns
<a></a> = Link tags, there are more varibles you need to input
<img> = Image tags, there are more varibles you need to input
You can also try <th></th> such as:
<center>
<table border=”1″>
<tr><th>Image Name/Etc<td></tr>
<tr><td><a tag><img tag></a><td></tr>
<tr><th>Image Caption<td></tr>
</table>
</center>
The caption can be <td><h5> and </h5></td> instead of <th> and </th>, since the <th> are meant for table headings and <h6> are too small to read (because of the css used on this site (and shared between all NG sites))
« Previous Page