tag:blogger.com,1999:blog-3803541356848955053.post2931477688182106230..comments2016-05-06T18:44:33.019-07:00Comments on YJL: Retrieving labels of a Blogger blog using JavaScriptYu-Jie Linhttps://plus.google.com/115422682039760465813[email protected]Blogger5125tag:blogger.com,1999:blog-3803541356848955053.post-80863099920210916722012-09-12T05:43:58.803-07:002012-09-12T05:43:58.803-07:00From what I read in your comments, you are asking ...From what I read in your comments, you are asking about two things:<br /><br />Set up a link (tab) on the home page<br />Make that page you linked list posts by entree/mains automatically when visitors browse to that page<br /><br /><br />The first task depends on your blog layout/template code. If it supports standard Blogger menu/nav gadget, you should be able to add a Page or a Link as a new tab. It it does not support, then you will need to edit HTML code.<br /><br />The second task requires editing JavaScript code of mine. <a href="/2012/05/search-page-updated.html" rel="nofollow">My current Search page</a> is <i>not</i> open source, but older version is, you can get a link to the open source code from <a href="/2010/11/my-new-labels-page.html" rel="nofollow">this post</a>. (It&#39;s almost two years old, so the presentation of results are different, I think)<br /><br />You will need to find someone to modify my open source code (BSD License) for you, so it can automatically search those entrees/mains when page is loaded.<br /><br />I know you want to have a clear answer (code), unfortunately, I can&#39;t give you that. I&#39;m currently not in the state to do code modification. Since I have open source version, then you can feel free to find someone to modify the code for you as much as you like. But you need to find someone else.<br /><br />PS. Disqus marked you comment as spam.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-11418602608776175312012-09-11T06:57:14.869-07:002012-09-11T06:57:14.869-07:00Hello, sorry a bit clueless! I want to have a pe...Hello, sorry a bit clueless! I want to have a permanent list visible on my blog under a tab to show my recipes by entree/Starter/dips etc. I&#39;ve used your brilliant search box and it grabbed a few of my recipes http://aveganobsession.blogspot.co.uk/2012/09/all-recipes-by-index.html Will you please tell me how to set up a tab on the home page and get the search thing to grab the posts by Entree/Mains, Desserts etc. THANK YOU! So very much appreciated xaveganobsessionhttp://twitter.com/aveganobsession[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-55839512208406175612010-11-26T15:45:49.134-08:002010-11-26T15:45:49.134-08:00Blogger API doesn&#39;t support &#39;title&#39; as...Blogger API doesn&#39;t support &#39;title&#39; as sorting field. Well, anyway, I did it on my own. Now Labels can load all posts with one click, the code automatically send requests as many as it needs to list all posts. 1000+ posts (not my blog) take about three seconds, plus sorting time.<br /><br />Visitors can change options. It shows how many posts we get. I also added colors. I love this new page, but I really doubt I would use it often.<br /><br />Should I sneak Google Analytics code into it, so I can peek at what people do with it?livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-71268523523564433952010-11-26T12:12:52.245-08:002010-11-26T12:12:52.245-08:00I see and that made me check how many post you hav...I see and that made me check how many post you have. :) But I would prefer the official channel if that&#39;s still doable and without needing too much effort.<br /><br />I haven&#39;t thought about alphabetical sorting, I might need to try &#39;title&#39; on ORDERBY in API, Blogger API doc didn&#39;t mention &#39;published&#39; can be used. You might not need to sort in your own script, just grab multiple times. In my current code, it&#39;s very easy to modify, just add a new parameter, then it can call API endlessly until there are no more posts to retrieve.livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-49301686513631721222010-11-26T04:00:26.103-08:002010-11-26T04:00:26.103-08:00Nice enhancements! The reason Yahoo Pipes was use...Nice enhancements! The reason Yahoo Pipes was used is because the blogger api only returns 500 results at a time and Yahoo pipes can easily call the api 3 times to get the first 1500 results and the merge and sort them alphabetically. This could of course all be done in javascript as well.Lynch Kevinhttp://closetcooking.blogspot.com/[email protected]