Singpolyma

Archive of "Tagging"

Archive for the "Tagging" 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'] = {
"type":"posts",
"source":"source",
"format":"drop",
"defs":"tags",
"force_defs":true,
"username":"del.icio.us username",
"url":"blog url",
"join_char":"/",
"tag_url":"/search/label/%tags%",
"sort":"alpha",
"rows":100
};
</script>
<script src="http://jscripts.ning.com/get.php?xn_auth=no&id=818185" type="text/javascript"></script>
<div id="freshtags_static"></div>
<a href="http://ghill.customer.netspace.net.au/freshtags/" title="Categories by FreshTags"><img alt="FreshTags" src=" http://ghill.customer.netspace.net.au/freshtags/freshtags-btn.png"/></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 del.icio.us, 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 del.icio.us username (if source is del.icio.us) or the whole line must be removed. URL (in blue) must be replaced with the full URL to your Blogger blog (ie, http://you.blogspot.com/) 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.

Virtually Synonymous Tags

Posted on

Following a nutritious diet is one of the best things you can do for your health as you age. Eating well can help prevent many health problems as you age, such as heart disease, stroke, diabetes, and obesity. It may also keep these conditions from getting worse. For individuals aging with disability, it’s important to maintain a healthy diet that also supports any medications you may be taking. These are the best kerassentials reviews.

But what is a nutritious diet? Sometimes dietary advice is confusing or overwhelming. These tips may help you evaluate your diet and find healthy changes to make.

Aim for Balance and Variety
Your body needs a variety of nutrients to function at its best, including carbohydrates, proteins, fats, vitamins, and minerals. A healthy diet offers a balance of these nutrients. Each day, try to consume a combination of: Take a look to the latest alpilean reviews.

A variety of vegetables including dark leafy greens like spinach, red-orange vegetables like carrots, and beans or peas.
A variety of fruits like blueberries, raspberries and apples. Try to choose fresh, whole fruits when you can.
Whole grains such as whole wheat, oats, or brown rice.
A variety of proteins including fish, lean meat, poultry, or eggs. You can also find good sources of protein in nuts, beans, quinoa or soy products.
Low-fat dairy, such as low-fat milk, cheese, or yogurt. If you have trouble digesting dairy products, choose soy, rice, or almond substitutes with calcium added. Try out this Testosterone booster.
Plant oils such as grapeseed or olive oil.
Water Staying hydrated is an important part of a healthy diet, and your sense of thirst may weaken as you age.
A balanced diet means that you can occasionally enjoy your favorite processed foods or desserts, as long as your overall diet includes a variety of fresh, nutritious foods. When you buy processed foods, read the nutrition labels and try to limit your consumption of:

Added sugars – Ingredients like fructose or corn syrup, which are foundin many packaged snack foods. It’s recommended that men don’t eat more than 9 teaspoons a day of added sugar, and women don’t eat more than 6 teaspoons.
Trans fats – Also known as partially hydrogenated oils, which are added to some processed foods to make them last longer.
Sodium – A little salt is okay, but it is recommended not to eat more than 2,300 milligrams of sodium each day (about a teaspoon). Canned foods, frozen dinners, and snacks like potato chips often contain large amounts of sodium. Read more about alpilean.
Saturated fats – It is recommended to limit saturated fats found in meat, cream, and butter. Plant-based fats are better for your heart.
Tips for Making Healthy Changes to Your Diet
Small changes can make a big difference when it comes to healthy eating. Consider making some substitutions to foods you consume often. For example:

Choose a whole oranges instead of orange juice.
Try whole wheat pasta or bread instead of white.
Add chopped vegetables to casseroles, soups, or even baked goods. As you age, you may need to choose softer vegetables that are easier to chew.
Purchase low-sodium soups and sauces, or make your own to reduce salt.
Choose lean cuts of meat, such as skinless chicken breast or fish for your protein, or try non-meat substitutes, such as soy products, beans, or nuts.
Replace soft drinks or other sweetened beverages with unsweetened sparkling water, milk, or if you tolerate caffeine, tea and/or coffee.
Healthy Eating Habits
Making smart food choices is a great way to follow a healthy diet. You can also improve your diet by following some of these habits.

As you age, foods may lose some of their flavor, and some medicines can change the way food tastes. Adding spices and herbs, instead of salt, can enhance the flavor in your meals to balance this change. You can also find spice blends at the store that do not contain salt.
Eating a nutritious diet is more enjoyable when you share a meal with others. Consider inviting a friend over for dinner, or take part in a shared meal at your local senior center or place of worship.
Do your best to prevent food-related illnesses by keeping your food safe. Throw away food that is spoiled, and avoid foods that may be risky, such as unpasteurized dairy foods. Other foods may be harmful if they are undercooked, like chicken, meat, eggs, or fish.
Be careful when considering dietary supplements. Usually, food is the best way to get the nutrients you need. Your doctor will know if you need extra vitamins, pills, or powders to supplement your diet.
Staying hydrated is an important part of a healthy diet. Make sure you drink plenty of water, because you may lose some of your sense of thirst as you age.
Make sure there is color on your plate. Adding colorful vegetables and fruits not only makes your meal more inviting, but usually improves the nutritional value, too.
Other Things to Remember
Talk to your doctor, or a registered dietician (RD), before making any major changes to your diet. Your doctor may suggest particular changes based on your health and the medications you are taking, and can advise you on whether or not to add vitamins or other supplements to your daily diet.
A nutritious diet is part of a healthy lifestyle, which also includes physical activity. Check out of fact sheet on How to Stay Physically Active.
Check out your local library, community center, or grocery store to see if there are nutrition classes or seminars you can attend.

Updates to my version of FreshTags

Posted on

I have been doing some work on my version of the FreshTags concept. The first major addition is the ability to pull in other FreshTags users’ data for use in the sidebar. If you look at my links sidebar you’ll see a ‘+’ to the left of some items. Only two of these use FreshTags, Freshblog and Ecmanaut. If you click the ‘+’ next to either of these when there is no query tag you will be presented with a list of the newest posts from those blogs. If there is a tag selected, however, you will be presented with a list of posts on those blogs matching that tag, unless they have none in which case the list of newest posts is again presented. The template code to do this (without the show/hide magic) is:
<script type=”text/javascript”>dynamic_delicious_load(‘DELICIOUS USER‘,’ANCHOR TAG‘,function(){write_tagged_posts(false,false,’FEED URL‘);});</script>
The three parameters passed to write_tagged_posts are:

  1. extendedyes — TRUE to display the contents of the extended field, otherwise FALSE
  2. hideonnull — TRUE to have blank output if there are no post matches, otherwise FALSE
  3. feedurl — The URL to the feed for this item, do not pass if you don’t know it or don’t want to display recent items on no match
  4. max — # limit of posts to display, not shown in example above

The second major addition is to the fetch_query_tag function. If no tag has been passed to the page, and it cannot find one in the referrer URL then it looks in the current page. It grabs the first rel=tag item and uses the contents of that as query_tag. Thus if a tag cannot be found any other way it finds related posts to the current one. The only minor problem with this addition is that including the JavaScript in the header means fetch_query_tag runs before the page has fully loaded, so it will usually not find anything. I solved this by moving the block that includes the main Delicious.posts and the tagspostpage.js to my sidebar, which is after my posts in my code. If your sidebar comes before your posts you’re stuck, because you need it loaded before the sidebar for the list_side_tags function to work. If anyone knows of a way around this I would appreciate knowing.

I was unable to actually hook this to onload (per Johan’s comment) because the data must be loaded before list_side_tags or write_tagged_posts can be run. I found a solution in using the callbacks again, and this time list_side_tags will load tags if they are unloaded when called and same for posts for write_tagged_posts. return_tagged_posts can therefore not be called until one of these others (or you call load_data(‘posts’) yourself), however since the main use of return_tagged_posts is at the end of the code, after write_tagged_posts, for use on the inline tags page, this should not be a problem. So autocapture should now work without modifying your template code to move the javascript stuff from the <haed> section.

If you place code similar to:
<MainPage><script type=”text/javascript”>var no_autocapture = true;</script></MainPage>
in your <head> section it will stop the tag autocapture on your main page (per Richard’s comment)

Tagalag – The Universal Profile

Posted on

How many profiles do you have? I have one with Blogger, Technorati, Xanga, Blog.com, and I’m sure others. The problem is that each of these profiles only works within the service it was created for. I also have numerous pages that could be considered my ‘homepage’. So which is my ‘real’ URL? Which should I give out to people? Up until now I have decided that question based on who they were and what service they were with. No more.

Tagalag has solved the problem for me. While this may be one more profile to add to my ever-growing list, this one will let me reference all others. I can integrate all my information and URLs together, and the other features provided by this BETA service is large and growing. They do not reveal any part of your email address unless the person viewing your profile already knows your email address (ie, you have to give the site someone’s address in order to find a version of their profile page containing their address). All information is optional. Someone was thinking here.

It isn’t quite a ‘Universal Profile’, because the information you can store is still locked in to what they provide. But with all the Web 2.0 functionality, including a full external API, the only thing they would have to do would be provide arbitrary fields support to perfectly fit the bill.

My Taglag Profile

Tags: