The Best Table of Contents (TOC) or Sitemap for Blogger
September 2nd, 2009
Many blogger want to make sitemap or Table of contents for their blog in blogger engine. Some of them only index of their posts by only show title of blog or make it manual by type the title every posts. Here some example of simple table of content (Manual Input) :
Amanda just post How to create a sitemap with Google Feed control, her idea is good she want to categorized the post but using google feed and have to input label feed one by one.
But I like her blog she provide many tutorial for blogger, every blogger have to know and read bloggerbuster
Beautiful Beta make javascript and used json from blogger call blogtoc widget. Many blogger try and modifed of his script but only change a little bit thing. Here some example what they change :
- Change position of TOC to the post, first time Beautiful Beta show his TOC in every post using javascript button in sidebar (I forgat the way how to use)
- Only change the language, this method can be found from Indonesian blogger they only change the language nothing to change inside.
- Give CSS for the table, only change the color and other thing.
Actually I used his javascript but I modified to become sitemap view not table anymore, and categorized the post.
Featured of My Script :
- Easy to use, only two line script.
- Categorized by Label.
- Can use for Multiple label in every posts.
- Give “New !!” Text for 10 latest posts.
How to use my script is very easy only input this two line to the post in “HTML” Mode
<script style="text/javascript" src="http://www.abu-farhan.com/script/daftarisiblogger/blogtoc-min.js"></script> <script src="http://www.abufarhan.co.cc/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"></script>
change “www.abufarhan.co.cc” to your blogger URL
107 Responses to “The Best Table of Contents (TOC) or Sitemap for Blogger”
Leave a Reply





[...] ver el “truco” original en el blog de Abu Farhan. Aunque hay varias versiones modificadas partiendo del original que podemos encontrar en otros [...]
Abu,
This is a wonderful script! It works perfectly. I will be using it on my site map and putting a link back to you on my Credits page, when I get my blog up (not yet).
I have another need for my blog. I need a Featured Posts widget that filters by more than one label in Blogger (usually just two at a time), with alphabetical sort by title and the ability to display in a post, not a sidebar.
Your TOC script already does nearly everything I need. For example, if I edit the script source as below to add two labels to the feed:
The script brings back only posts that match both of the labels. But, because it is a TOC script, it prints the same set of labels twice — once under LABEL1 and once under LABEL2.
Can you advise me if it is possible to modify your script to eliminate duplicates and only print one set of links that match both labels?
If you do not have time, no problem. Thanks again for such amazing work.
Bee
Oops! I forgot to take the carets out and it did not show my script source example with the labels added. It is as follows:
script src=”http://www.abufarhan.co.cc/feeds/posts/default/-/LABEL1/LABEL2?max-results=9999&alt=json-in-script&callback=loadtoc
Thanks, Bee
Never mind, Abu! I got it figured out. Really excellent script.
http://www.abu-farhan.com, how od you do it?
Thanks for tips bro… :-D
thank you so much sach a gerat script by you . i got my dream script .thank you so much once again ….From ashvin see my blog i have use your script in my blog ..
Ah, thanks! This cleared up some confusion I had.
great sharing with us….
thanks for sharing…great tips
Thanks for your code. Could you please suggest me how can I use this code in blogger.
Please allow me to translate this article into Vietnamese for common reference for the reader, I leave the original article link to your post.
Please Leave a message for me at http://vnpressnet.com, wish you success.
You can translate to your language
thank you alot
Assalamu’alaikum Wr. Wb.
Thanx for sharing. May Allah bless you for your kind
Wa’alaikumsalam warohmatullahi wabarpkatuh
Amiin
Makasih nih blogtocnya.
Maaf script-nya sedikit dimodif supaya labelnya jd bold. Trus linknya aku buat langsung ke halaman ini.
Oya, kok ga bisa nampilin label pilihan aja, tidak semua, padahal di script-nya ada sob?
Salams :)
Thank you so much for this script.. it’s not only easy but also works.. you’re awesome..
One question though.. is there a way to just display one label instead of the whole blog entry.. I was thinking of putting a post with only one label or category ..
I will appreciate any suggestions you have.. thanks!
LadyJava
terimakasih sahabat, ku tau betapa sulitnya kau membuatnya. kadang aku ingin berbuat jahat dg menghilangkan linkmu di file JavaScriptmu, tapi ku tak mau mengingat betapa sulitnya kau mencari dan membuat kode2 ini. aku sangat bangga denganmu yg membuat postingan dg berbahasa inggris u/ menolong semua orang dari seluruh dunia.
terimakasih sahabat, semoga amal perbuatanmu mendapat ganjaran yg setimpal dengan apa yg telah kau perbuat sekarang…
ku ingin kenal kamu lebih jauh sahabat…
MASQULIN.BLOGSPOT.COM
thanks for sharing .now i can use this with my blog
betul2 menarik///////
thxxxxxxxxx for great tooooollll
u r such a genious guy !!
Salaaam. Sangat berguna, terima kasih banyak , jazaakallahu khoir ya akhi :)
Asalam-u-alaikum Abu!
i used your script for a movie site which i have but it did not show me any result..
http://www.watchfreemovieslive.com
it has more than 900 posts will i have to change anything please help….
Wa’alaikumsalam, you not active your Feed at your blog. You have to active your feed to use this script
hi Abu
The script works….but since I have more than 300 entries, I wonder if it is possible to use +/- (HIDE/SHOW, EXPAND/COLLAPSE)?
Thanks
Angie
thanks, i’ve try with my blog
your script is simple but powerful. Why do the links not show up on my feed?
feed: potongrambut.blogspot.com/feeds/posts/default
[...] Site Map Untuk Blogspot [...]
salam alaikum w rahmat allah,
Very nice site,,masha allah
Thank you very much akhi Abu Farhan w Baraka allah fik
Wa’alaikumsalam, wafiika barakallahu
Thank you! Very useful!
Best regards.
so sorry, this is my content
http://engsrhan.blogspot.com/2009/07/blog-post_21.html
I’m sorry I dont’t know how to modify in arabic, but you can ask my friend he did it http://italib.blogspot.com/2009/09/sitemap.html
thanks my dear at all, i already remove the shape, and remain the numbering, i’ll check…
good luck
Salam alaykum akhi Abu Farhan & Baraka allah fik for sharing your knowledge with us!!
well i did reply to Srhan with the solution for his issue!
salam Alaykum
Wa’alaikumsalam brother, wa fiikabarakallahu
dear Abu-Farhan,
Thanks for this great hack, I made it successfully, but i have little problem,
how to delete this shape from the left side in this content and in comments? and how to numbering the posts in content at right.
nice for me to have a look…
this is the link to my content
at all I appreciate your cooperation
can i request something? do you have this version of javascript which doesn’t have the author link? hehe.. i am sorry, but really need it. Please… :) you may send the code to my mail. Anyway thanks many thanks! you’re doing a great job! keep it up buddy! :D
Very good your script congratulations. But I tried to add to my blo in Blogger and the script worked properly in Firefox but in Internet Explorer 8 and caught or run the script. I have something around 415 posts in the blog, was it to be many threads that lock?
My name is Silvio and I am from Brazil.
I try using firefox and IE it can use, and my friend using arabic character can use also, so I thing no problem.
For less than 500 posts can show using this script. For more than 500 after my study finish I’ll release new script.
In your script, I noticed that there is a variable called postMp3, and a link to download MP3, and I didn’t understand them in the code. May you explain that?
Other thing, is it possible to change the code for someone to choose which labels he wants to show??
Actually that for Podcast, I used this script long time before i released in here. I used for other blog that provide podcast mp3 in post
Second question, I have to modify the script
It would be interesting if we could choose which labels we want to show in table of contents. I have many labels in my blog and many post links appear in most of them.
Could this be possible?
[...] Alhamdulillah, After my script The Best TOC/SiteMap/Daftar isi For blogger , I made one more TOC base on Archive, actualy this method more simple than before because [...]
i tried adding this to my html on blogger, but i’m getting the following error.
XML error message: The reference to entity “callback” must end with the ‘;’ delimiter.
and the same issue with “alt”
Don’t put in your template, but in your post.
I thought I am supposed to add it to the Edit HTML page for my whole blog?
the script will automatic generate all your posts in one post categorize by label, Check this Demo
wow.. script nya singkat tapi manfaat bgt nih..
nice work :)
Ok semoga bermanfaat, sudah digunakan ya, Silahkan liat lagi hack terbaru tentang page navi untuk blogger
Nicely done .. Great woork Abu Farhan!
Organize posts by labels is really useful , but if you have a idea about organize them by dates (months just like archives ) will be great .
Thank you !
Insha Allah next time I’ll make the Tuts in my Blog, I made already that kind Hack, it was easier than categorized by Label.
[...] modifikasi dari trik lain.1. Inline Mp3 Player (Cara mudah memasang Flash player MP3 di Blogger)2. Membuat daftar isi teratur beradasar label3. Memisahkan Label (Kategori) dan tag4. Membuat label Khusus (misal Ustadz, Syaikh dll) 5. Modal [...]
This is a great script, I put it on my site and it worked great the first time — took only two minutes. Thank you!
I got some problem. the numbers are not showing…
here’s the blog.
http://fbgameguide.blogspot.com/2009/09/archives.html
please help
That was not because the script but from your template. In your template have list style none.
i have set the list-style: none;
but still no effect…
actually I only give you clue to fixing the problem, not directly do what I said.
ok I’ll give you the css this one :
.post ol li{
list-style-position: inside;
list-style-type: decimal;
}
From where you got the template ?
thanks its fixed now!
template from
http://www.nazieb.com/456/smells-like-facebook
@Gian
actually modification of that template from this
http://www.abu-farhan.com/2009/08/smell-like-facebook-untuk-blogspot-3-kolom/
Abu, Thanks for publishing the post. I can see that one must include the two lines in each post.
Couple of things are still unclear.
#1 Where in the post would you suggest to include the 2-line script?
#2 How do you invoke a TOC or Categories listing if you want it in a side bar?
1. Put it like you want to post article (HML mode). if you don’t want to show in front page because latest article, you can chang the post date.
2. If in sidebar only ad gadget and use that script directly, but its better don’t use at sidebar if you have so many articles, it will make slow your blog slow to load.
Mr. Abu Farhan,
Thank you very much for sharing and making room for your script. It is not just brilliant, but makes things easy for a “not so advanced” programmer.
You have been showing a nice technical support and a great design in your affairs. May someday we have a business partnership development…
The challenge in my site is how to integrate 3 languages in one page and a multiple label of services. It looks easy, but i don’t want users to “change the page”, in other words, I want everything showed in the index in a user friendly way.
I am wondering if you have a script to “label the labels”…
I want to now example that you want to make script ? maybe I can make.
Actually I have one other hack to separate Category and Tag (like in wordpress) so you can add many Tag/Label to your post but the TOC will categorized by category (not so many label only special category will show)
wow.. abu.. blog km dipromosiin ke puluhan ribu org ama Amanda bloggerbuster.com, amazing!
Your are Crasy Abu Fahran ;-)
Incredible! The simplest method I ever seen.
Why can’t I add it to Google Webmaster’s Tools if it’s a sitemap?
No this one not for google webmaster, If you want submit to google webmaster you can use lik this feeds/posts/default?max-results=9999
feeds/posts/default?max-results=9999
This doesn’t work…
I have
feeds/posts/default?orderby=updated
Is it possible and positiv to have more than 1 sitemap?
ok, maybe that’s can work, because I never check my blogger in google webmaster anymore.
When you submit the sitemap to google webmaster you have to check how many your posts already, if less than maximum feed, google will be crawl directly. One important thing is “Archive” at sidebar is to make it easy google crawl all posts. In your blog you already list all your post at sidebar, so google easy to crawl.
Thanks Abu Farhan!
Abu, this script is awesome! I’ve just tried this out in another blog, succes for you…..
Hi, I already tried the “max-results=100″ and it’s a great feature. Thank very much. I name it as the table of contents of my blog
You can have a visit on it.
That’s method only show all post in 100 range not make sitemap, please read my explanation until finish, and you can make Sitemap for your blog easily.
Hi! Thank you, thank you, thank you. It worked a treat! Thank you!
Take Care,
Peter
Hi! Thank you, thank you, thank you! Worked a treat! Thank you!
Take Care,
Peter
Info yang sip….Baru tahu nih…
jazakumullahu khoir..
sudah saya pasang dan sukses!
cuma ada sedikit kendala, jarak antara judul posting terlalu dekat. jadi tidak jelas kalo dibaca..
Waiyyakum, Alhamdulillah, semoga bermanfaat.
Soal jarak antar judul posting tinggal antum atur CSS antum aja untuk ol li , ga perlu utak atik script
This works great! If anyone wants to see it in action on a Blogger blog with 200+ posts, click through to my blog for a look. It’s all well sorted and very clean looking.
Thanks for letting us use your script!
Hi, I’m using Blogger with FTP (here. How may I change the path of the label?
Thanx…
What kind of format to search label in blogger FTP?, I never used. If you can show the format I’ll make special script for FTP user
In blogspot, the path of the label is like this: http://www.sarisaristore.co.cc/search/label/For%20Sale
But in FTP, the path of the label is like this:
http://travelogue.digitalrebel.ws/labels/family%20adventure
Your script follows the path of Blogspot labeling but not with FTP labeling. Please help. Thank you very much…
Blogspot label path: /search/label/sample_label
FTP label path: /labels/sample_label
You can use this file for FTP, I hope it can work
http://abu-farhan.com/script/daftarisiblogger/blogtocftp-min.js
Abu, this script is awesome! I’ve just tried this out in another blog and am very impressed by how quickly this loads. You’ve also surpassed the issue of “max-results=100″ :)
Thank you for letting me know about this in the comments. I’ll update my post to link to your excellent script.
Thanks for visit my blog and thank you very much for link to my small blog.
One more trick that I made about popular post (mos comment) but still in Indonesian language Popular post for blogger