Halaman

Tampilkan postingan dengan label wordpress. Tampilkan semua postingan
Tampilkan postingan dengan label wordpress. Tampilkan semua postingan

Rabu, 14 Juli 2010

Using SSI with WordPress





Server Side Includes (SSI) are a very powerful tool that can be
used to update multiple pages on a site quickly and with minimum fuss.


e.g. Imagine you had a site and you wanted to include a list of
recommended merchants at the bottom of every page.  What happens if one
of the merchants changes their affiliate link, or drops you as an
affiliate, or simply does not convert?  If you site had 100 pages, you
would have to manually update 100 pages and re-upload all 100 pages. 


With SSI, you would have this list of merchants in a single text
file.  You would then “include” that text file in all of the pages on
your site.


If you need to change a link, you simply change the link in the text
file and re-upload that one file.  The merchant list will then be
updated on every single page of your site.


Typically I’ll have 4 or 5 of these “merchant files” for any site I
build.  The list of merchants and ads shown in these files will be
geared towards the section on my site in which they will appear.  e.g.
on a contact lens site, I would probably have one merchant file for the
pages advertising prescription lenses, and another merchant file for
cosmetic lenses (those lenses that are just for appearance).  I might
even have a separate file for “halloween lenses”, and include photos of
vampire eyes, or cats eyes – whatever is hot at the moment.


By keeping my merchant lists to a few separate files, I can quickly
and easily swap out merchants, add in new promotions (e.g. at Halloween
there are always special offers, and these can be added to all
“Halloween” related pages in a few seconds) and have total control over
what ads are showing on the various sections of my website.  If changes
need to be made, I don’t need to edit every page on my site, just my
include files.


Do you see the power of this?


To help with SSI in WordPress sites, there is a plugin I recommend.  I
have it working on a WordPress 2.7.1. installation so can confirm it is
compatible with this version of WordPress.


WordPress Plugin: Include
It


Download and install it.


Now, in an HTML editor (or text editor if you prefer), create the
file that you want included in your pages.   Construct it in standard
HTML.  It can include a table, headers, affiliate links, text, images
etc.  When you have finished the include file, save it to the root
folder of your site.  You can give it any name you want, e.g.
merchants.txt, merchants.html etc.


Now, with the plugin active, simply add the following code in the
position of your WordPress post that you want the merchant list to
appear:



[include file=merchant.txt]


Save your post, and you are finished.


The contents of the merchant.txt file should display in the post.


Add this line to every post you want the list to appear in.  When you
need to change the merchant list, simply edit the merchant.txt file,
and upload it.  The merchant list will be updated on every page that you
added it to.


Do you have any other uses of SSI that you think readers of this blog
would be interested in?  Please feel free to leave comments on this
article below.  You do not need to register to leave a comment.

Sabtu, 26 Juni 2010

Bagaimana cara membuat blog Wordpress dan hosting GRATIS di Byethost.com

Tutorial kali ini saya tujukan buat pemula dan yang belum berpengalaman membuat hosting gratis di Byethost.com. Mengapa saya memilih Byethost.com? Karena Byethost.com memberikan web space sampai 5GB dan bandwidth 2GB per bulan untuk free hosting dan masih banyak lagi fitur-fitur yang lain.
Setelah mengikuti tutorial ini anda diharapkan akan mampu:
- membuat account free hosting di http://byethost.com/
- meng-upload file Wordpress ke server Byethost.com dan menempatkan pada tempat yang benar
- membuat blog dengan menggunakan Wordpress
Secara garis besar tutorial ini saya bagi jadi dua bagian, pertama membuat account di http://byethost.com/ dan yang kedua membuat blog dengan Wordpress (Wordpress Self Hosted)


Membuat Free Hosting Account di Byethost.com
Langkah pertama buka http://byethost.com/index.php/free-hosting, lalu klik tulisan “Click here to sign up for free hosting
03_daftar_hosting


Senin, 14 Juni 2010

Cara Impor Blogger Blogspot ke WordPress


Oleh: fatihsyuhud.com
Karena kebanyakan dari kita memakai blog gratis, maka sebaiknya kita memiliki back-up artikel-artikel berharga di satu blog ke blog lain. Kelemahan dari blog gratis adalah kita tidak punya kontrol penuh pada blog kita, artinya pemilik layanan blog gratis tersebut bebas menutup blog kita kapan saja mereka mau. Apabila Anda memiliki cukup banyak artikel di blogger.com / blogspot, Anda dapat membackupnya di wordpress.com dengan cara memakai fasilitas ekspor impor / export-import. Ikuti langkat praktis berikut:

1. Login ke wordpress.com
2. Klik "Manage" atau "Kelola"
3. Klik "Impor" atau "Import"
4. Klik "Blogger" (apabila Anda ingin impor file dari blogger/blogspot)
5. Klik "Beri Kuasa" atau "Authorize"
6. Akan ada tanda login Google account. Masukkan Id dan password blogger / blogspot Anda.
7. Ada tulisan "Access Request" di bawahnya ada pilihan "Grant Access" dan "Deny Access" -> klik "Grant Access"
8. Akan muncul blog blogspot Anda -> klik impor; apabila punya blog blogspot lebih dari satu dalam account yang sama, maka pilih blog yang akan diimpor
9. Tunggu sampai ada pesan "Success" atau "Berhasil" dari wordpress.
Catatan:
a. Hanya blogger baru yang dapat diekspor ke wordpress dengan cara ini. Kalau masih memakai blogspot classic silahkan di"reformasi" dulu ke blogger baru;
b. Impor dapat juga dilakukan dari wordpress ke wordpress lain. Misalnya, blog (afatih.wordpress.com) ini filenya juga saya backup dengan cara diimpor ke blog saya di edublogs.org (Anda bisa juga buat account di sini gratis). Kelebihan dari edublogs.org adalah besarnya file yang diimpor tidak terbatas. Sementara kalau di wordpress.com, maksimum filenya 2 mb, artinya kalau file yang hendak diimpor lebih dari 2 mb maka proses impor tidak akan berhasil.
c. File yang diimpor bisa juga dari blog lain selain blogger.com / blogspot, misalnya MT (movable type), Typepad, dll.

Minggu, 06 Juni 2010

Cara praktis untuk Meningkatkan Page View Blog Anda

Sesuai janji saya di akhir artikel sebelumnya, kali ini saya akan mengupas beberapa tips praktis yang bisa anda jalankan untuk lebih meningkatkan page view blog anda.

Tujuan kita menjalankan tips-tips ini pada dasarnya yaitu untuk lebih menambah daya pikat dan daya ikat blog kita. Dengan harapan, pengunjung bisa lebih lama mampir dan lebih merasakan manfaat dari berbagai postingan di blog kita. Juga agar pengunjung merasa lebih nyaman ketika berada di blog kita. Selain itu, tentu saja demi lebih meng-optimalkan postingan-postingan lama (agar tidak sekedar menjadi arsip tanpa pembaca). Ini tipsnya ...

7 Tips Praktis untuk Meningkatkan Page View Blog Anda:

Rabu, 12 Mei 2010

Cara Posting di Blogdetik Lewat E-mail



Anda sedang berada di luar ruangan dan tidak sempat membuka laptop? 
Blogdetik menyediakan fasilitas posting blog lewat e-mail. Ikuti langkah- 
langkahnya berikut ini: 

Login ke e-mail Anda 

Klik tombol menu untuk mengirim e-mail 

Pada kotak tujuan e-mail (To), ketikkan alamat e-mail ini:post@blogdetik.com 

Pada kotak judul e-mail (subject), ketikkan judul artikel blog yang  akan Anda tulis 

Lalu pada kotak isi e-mail, sebelum mulai menulis artikel, tuliskan 
username, password dan nama blog Anda (tanpa akhiran blogdetik.com) dengan format sebagai berikut : 

<username>spasi<password>spasi<nama blog> 

Tekan enter lalu silakan ketikkan isi artikel blog Anda 

Jika telah selesai, klik kirim (compose


Contoh mem-posting artikel blog lewat e-mail: 
Misalkan alamat blog Anda adalah www.belajarblog.blogdetik.com, dengan username blog: blogku dan password: 123456. 

Anda ingin mem-posting artikel berupa informasi makanan kuliner yang Anda cicipi di sebuah tempat, dengan judul tulisan: Ayam Bakar Taliwang ala Resto Ubud. 

Untuk mem-posting blog lewat e-mail, formatnya adalah: 
Subject : Ayam Bakar Taliwang ala Resto Ubud 
Isi email : 
<blogku>spasi<123456>spasi<belajarblog> 
..................................<isi blog>............................................ 
.......................................................................................... 
.......................................................................................... 
.......................................................................................... 
.......................................................................................... 

Kamis, 15 April 2010

Post by Email





Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.

Generating a Post by Email Address

Before you can publish by email, you must generate a special email address. This address is unique to you and must be kept secret.
1) Dashboard > My Blogs
2) Locate the blog that you wish to post to and click on Enable.
You now have a special email address. If you want to add the address to your addressbook, you can download it as a vCard:

Sending Emails

Once you have your Post by Email address, sending an email is simple:
The email subject is used as your post's title. The body is the post's contents. A few minutes after receiving your email, you should receive a notification email informing you of the published post's details.
Please remember to send the email to your secret email address, not to the example given in the image above.

Mail Formatting

Your email can be plain text or formatted. As much formatting as possible will be retained, although the Post by Email system will strip unnecessary HTML tags so that your email is displayed correctly. Note that you will need to use an email client that supports rich text or HTML formatting in order to make use of this feature. Most website based clients (Hotmail, Gmail) do support this, as do most desktop clients (Outlook, Mail). You may need to switch your client into rich text or formatted mode.

Attachments

Image attachments will be included in your published post as follows:
  • Single images will be displayed inline (a single image is defined as an image without an image immediately following it).
  • Multiple images will be displayed as a gallery.
Multiple galleries and single images are allowed in the same post. Note that using the [nogallery]shortcode will disable all galleries.
If you have purchased the Space Upgrade, then the following additional attachment types will be supported:
  • Supported audio files (mp3) will be displayed using the WordPress Audio player.
  • All other files (doc, PDF, etc) will be displayed as links to the attachment.
Additionally, if you've purchased the VideoPress Upgrade, you'll be able to send mp4, mov, wmv, avi, mpg, and m4v files as attachments, which will then be displayed using the WordPress video player.
Note that all attachments are subject to space limitations.

Shortcodes

Special shortcodes can be embedded in your email to configure various aspects of the published post:
  • [category x,y,z]
  • [excerpt]some excerpt[/excerpt]
  • [tags x,y,z]
  • [delay +1 hour]
  • [comments on | off]
  • [status publish | pending | draft | private]
  • [password secret-password]
  • [slug some-url-name]
  • [title Your post title]
  • [end] – everything after this shortcode is ignored (i.e. signatures)
  • [nogallery] – disables the auto-gallery and displays all images inline
  • [more] – more tag
  • [nextpage] – pagination
  • [geotag on | off] – override your geotagging privacy defaults to enable or disable the showing of geo information
  • [publicize off|yahoo|twitter] – change Publicize options (see below)
  • [poll]question and answers[/poll] – insert a PollDaddy poll into your post (see below)
Shortcodes can be included anywhere in the body of your email and must be in lowercase.

Specifying the Category

The category shortcode will match the start of category titles, as well as category IDs. For example:
[category Hol,Fo]
Will match "Holiday" and "Food." Note that categories must already exist on your blog and spaces between the commas are not important.

Specifying Tags

Any number of tags can be added to your post, each separated by a comma:
[tags one potato, two potato, three potato, more]
This will add four tags: "one potato", "two potato", "three potato", and "more". Note that your tags do not need to exist elsewhere in your blog and new tags will be created automatically.

Changing your Publicize settings

WordPress Publicize lets you notify other web services about your posts. With the [publicize]shortcode you can control this from emails.
[publicize off] – disable all Publicize notifications
[publicize twitter] – only send a notification to Twitter
[publicize twitter]my new post[/publicize] – only send a notification to Twitter and set the Twitter status to my new post
Note that your Publicize settings must have been previously configured.

Inserting a PollDaddy poll

You must first have created or imported a PollDaddy account into WordPress.com before using this shortcode. Once setup you can insert a poll in an email as follows:
[poll]
What is the worst movie of the decade?
* The Love Guru
* Fool's Gold
[/poll]
Note how the poll question is added after the [poll] shortcode, and each answer is on a new line and starts with an asterisk. The poll must be finished with [/poll].
You can configure your poll by adding extra details to the [poll] shortcode:
  • type="single | multi | 2 | 3" – how many times a vote may be registered (single by default)
  • style="manga medium" – the style of the poll, as taken from the PollDaddy polls page.
  • other="yes | no" – allow an 'other' response (no by default)
For example, to create a poll with the wide 'manga' style and allow up to three responses (including an 'other' response):
[poll style="manga wide" other="yes" type="3"]
What is the worst movie of the decade?
* The Love Guru
* Fool's Gold
[/poll]

Delaying Your Post

The delay shortcode will accept any time allowed by PHP's strtotime. For example, you can:
[delay +1 hour]
[delay +2 days]

Providing a post title

The title of your published post is usually taken from the subject line of your email. In some instances, such as when sending an email from some cell phones or via a MMS-Email gateway, you may not be able to provide a subject. In this instance, you can set your post title directly inside the email:
[title My Fancy Post]

Changing your post status

Sometimes you may want your post to be private, or to be reviewed by yourself or someone else at a later date before being published. To do this, you can use the [status] shortcode to set the post status.
[status private]

Geotagging

If your email includes an image that contains appropriate GPS information (for example, as sent from iPhone), then this will be used to geotag your post. Information will only be shown to the public if you configure your blog to do so. You can override this on a per-email basis using the [geotag on] and[geotag off] shortcodes.
Emails sent from a SPOT GPS device will be automatically geotagged.

Signatures

Post by email will automatically remove any email signatures that match the standard signature blockpattern:
--
(that is dash dash space)
It will also remove anything after a <hr/> HTML tag and attempts to clean up cellphone network signatures.
If your email system attaches a signature that does not match any of these patterns then you can manually tell Post by Email to stop including text by adding the special [end] shortcode. Anything after this will be removed from your post. If your cellphone network is adding a signature and you want us to remove it, then let us know the details and we'll look into it.

Example Email with Shortcodes

The following email will be published in two days' time to the "WordPress" category, with tags "announcement" and "WordPress":



Welcome to Post by Email, the easiest way to blog!
[tags announcement, WordPress]
[category WordPress]
[delay +2 days]