Archive of "Freshtags"

Archive for the "Freshtags" Category

FreshTags’ Static Widgets

Posted on

This enhancement to FreshTags in response to Amit, who has been persistently requesting the feature in comments and a ticket. FreshTags now has the ability to generate widgets (from any source) which are locked on to a particular tag(s). For example:

<!-- FreshTags0.5-Singpolyma2 -->
<script type="text/javascript">
if(typeof(WidgetData) != 'object') WidgetData = {};
if(typeof(WidgetData['freshtags']) != 'object') WidgetData['freshtags'] = {};
WidgetData['freshtags']['freshtags_static'] = {
"username":" username",
"url":"blog url",
<script src="" type="text/javascript"></script>
<div id="freshtags_static"></div>
<a href="" title="Categories by FreshTags"><img alt="FreshTags" src=""/></a>
<!-- /FreshTags0.5-Singpolyma2 -->

The above code must (for new Blogger users) be inserted into a new HTML/JavaScript sidebar widget. Source (in red) must be either, blogger, or mediawiki (use blogger for labels on posts in the new Blogger). Defs (in red) should be a +-separated list of tags to load into the widget (or just one tag). Username (in blue) must be replaced with your username (if source is or the whole line must be removed. URL (in blue) must be replaced with the full URL to your Blogger blog (ie, if source is blogger or the whole line must be removed. Join_char (in blue) must be / if source is blogger and + otherwise.

The ID (in purple) is fine to leave if you are only going to insert this widget once. For the second, third, etc widgets you must change it to something like freshtags_static2. The higher reference (also in purple) to freshtags_static must also be changed. Second, third, etc widgets do not need the <script> tag that is in purple near the end.

If you have any questions, just ask!

FreshTaggy Goodness

Posted on

You may have resolved to make this the year you finally start—and stick with—an exercise program, but you’re fighting an uphill battle, and it’s all too easy to give up after a few weeks. Judging by the fact that the January crowds in the gym are long gone by February, you’re not alone! Learn more about javaburn benefits.

The question is how to turn your determination into action you can sustain for more than 30 days. While this website is filled with hundreds of ways to help you make your training more effective, we can’t actually come over to your house and light the fire that gets you moving. At some point, you must take action. No one can do it for you.

Let me assure you, I in no way want to write the companion article in February that implores you to get back to your workouts! So let’s save us both a lot of time and stick with it.

Strategies For Starting Off Right
1. Define Your Challenge
Write down your ultimate physique goal and how you’d like to look. Include weight, body fat, and any physique improvements you’d like to see. Now divide it by 3. That’s roughly your 90-day goal—to get you a third of the way there.

Write down your ultimate physique goal and how you’d like to look.

2. Make Time For Your Health
Work up to 60 minutes of physical activity each day. That doesn’t mean you’ll be on the weight-room floor seven days a week, but strive to get some kind of activity—even if it’s a walk with your dog or a leisurely bike ride. Take advantage of great weather when it happens by taking your workouts outdoors. If you’re new to fitness, start with two 15-minute sessions or three 10-minute sessions to help you become acclimated. Check out the best java burn reviews

3. Discover What You Enjoy
Weights are one of the best ways to make significant physical changes to your body. Unfortunately, not everyone enjoys lifting. The most important determinant of long-term success with fitness is how much you enjoy an activity. Choose something that make fitness fun! Explore new exercise classes and activities to determine which you prefer. As a beginner, almost anything you choose will be challenging, but gains will be made starting your very first week.

4. Don’t Go It Alone
Train with a friend who’s at about your level of ability and has similar goals. You’ll be far less likely to skip your workout when you know someone is depending on you. It’s also more motivating when you push each other, and you’ll be far less likely to cut your sessions short.

FreshRolls (Wrinks)

Posted on

I have added a new feature to my Wrinks app. In the spirit of FreshTags we have FreshRolls.

If you go to a wrink page (for example, the Blogger Hacks Wrink), you will note a third code option. FreshRolls are currently only available in JavaScript (no PHP yet). You can select what blog to exclude (or none), just as on the normal roll output, and whether this code is to be used in conjuction with ring code or not (more on that in a bit). The code is then a simple JavaScript include, as with standard rolls, that you place where you want the FreshRoll to appear.

FreshRolls attempt to detect tags and ‘passed tags’, just like FreshTags. If it finds some, it will display only those blogs which match the tag(s) found, otherwise it will normally display the entire roll. If, however, you told it you would be using it with a ring, it will not display a roll title and if no tags are detected will output none of the roll.

What is this ‘combo-mode’ useful for? Well, if you paste standard ring code followed directly by FreshRoll code set to ‘combo-mode’, if tags are detected the matching blogs will be displayed following the ring, otherwise you just see the ring. I have set it up this way in my sidebar. You can test it by appending ?tags=blogger to this page’s URL and reloading.

Blogger BETA compatible : Just create a new HTML/JavaScript widget on your BETA blog and cut-n-paste in the code(s) from Wrinks.

Asynchronous FreshTags

Posted on

I have updated my version of FreshTags to include support for asynchronous loading of posts. Now if you add the following code to your template:

<script type=”text/javascript”>var freshtags_tag_format = “drop-add-async”;</script>

Instead of the drop-down box taking you over to the tags post page it will load the posts for the tag combination for you asynchronously in the sidebar.

A nice side-benefit of this is that you may now use all the other FreshTags tag-list types (except custom), including flat, flat-multi, list, list-multi, scroll, drop, and sub. Just put them in the above code where I have ‘drop-add-async’.

You will have to be using the version of my FreshTags implementation for this to work, instead of the old one hosted on AWriterz. The code for the new include (which you can replace the old one with to upgrade) is:

<script type=”text/javascript” src=”;id=818185

FreshTags for WordPress

Posted on

The FreshTags system is more than just categories for Blogger. With the tag-passing features it adds a social aspect to blog browsing. Not everyone runs on Blogger, and some of us are lucky enough to run on blogging systems that support categories natively. The other FreshTags features would be and can be immensely useful to these people as well. So, in a move to push FreshTags beyond Blogger and beyond I have created a FreshTags plugin for WordPress.

Update: Version 0.11 has been released. Some minor bugs have been fixed and loading captured tags into the search box is now optional. To load the searchbox you must add this code to your template: <?php freshtags_load_searchbox(); ?>


  • Detects tags passed directly via ?tags, ?tag, or ?cat
  • Detects tags from the referer URL, all the same formats as the original FreshTags are supported
  • Detects the tag of the current category page or the first tag on the current post, if applicable
  • Supports tag intersections
  • Displays n matching posts from detected tag(s) in the sidebar
  • Supports either list or drop form of tags in the sidebar, highlighting selected tag(s)
  • Rewrites post links when tags are selected to enable tag-passing from the blog
  • Generates JSON(P) feeds for use in peek-a-boo sidebar headlines by other blogs

To implement this plugin on your WordPress blog:

  1. Download the plugin
  2. Unpack the file and upload ‘freshtags.php’ to your /wp-content/plugins/ directory on your blog
  3. Go to your WordPress dashboard and the plugins screen to activate the plugin
  4. Edit your template and replace the code that outputs the category list in your sidebar with:
    <?php echo freshtags_taglist();
           echo freshtags_postlist(); ?>

    To customise the display you can pass ‘drop’ to freshtags_taglist to get a drop-down list of tags. You can pass two parameters to freshtags_postlist, the first is the maximum number of posts to display (default: 10), the second is a string to output as a header for the list of matching posts (replacing %tags% with the detected tags, default none).

I have updated my version of FreshTags to support getting peek-a-boo titles from blogs using this WordPress plugin. Just call load_otherblog_titles(‘wordpress’,’blog url‘,”,’feed url (optional)‘,’id of element to put results in‘); after the normal FreshTags data has loaded.