tags

Rails Dynamic tag generation from context

Let's say I want to trend all comments posted on a site and create dynamic tags. For example, If there are x number of comments that contain the word iPad I would like to create automatically create a tag called "iPad" and put it in a tag cloud. Is this possible? I checked out the acts_as_taggable gem but it requires one to specify a ta...

Is there an API that can take a URL and return a tagcloud datastructure?

Is there an API that can take a URL and return a tagcloud datastructure? ...

img tag in RichTextEditor Adobe AIR

Hi, I wanted to insert an image into a RichTextEditor in AIR application. For my surprise I found this code working perfectly if the project was Web application but it doesn't work if I use it into AIR Desktop application. Here's the code <mx:RichTextEditor height="100%" width="100%"> <mx:htmlText> <![CDATA[ <p>Thi...

Why does this HTML5 Video Tag not work in Firefox 3.6 and why does it not autoplay in Safari?

<video controls="" autoplay="" tabindex="0"><source type="video/mp4" src="pird2.mp4"></source></video> ...

How to make a Tag cloud app that post on a website?

I want to make an app where the users can post messages that will be displayed on a website. The users would need to create a username and password to be able to post. The app would be like a twitter, but only be able to post through the app and read the last few posts and not be able to write private messages. The website would funct...

CMS or Framework for a tag-centric site?

I've wrestled with Drupal for months... it just doesn't really have a very fluid way to deal with dynamic tagging and calls. For instance... I need to be able to allow the user to create/manage tags, anytime they want, on their profile that do the following things: List the User in relative searches Contribute to a tag-cloud Return it...

Creating custom tags for Wordpress

Hello I'm creating a plugin for wordpress that'll require a couple of custom template tags for theming purposes. At the moment I have this function: function gs_subscribe_button ($type) { echo "alert"; global $wpdb; $table_name = $wpdb->prefix . "subscription_types"; $result = msql_query ("SELECT * FROM $table_name WHE...

Facebook Get Friends who are tagged with Graph API

Hi, The application I am working on has the following permissions: read_stream,publish_stream,offline_access,user_photos,friends_photos,friends_photo_video_tags,user_photo_video_tags When doing the query, only the photos owned by the user show up. Any picture that is on a friends album does not show up. This happens even if all priv...

Deploying Struts2 Application without ContextPath

I've got a struts2 application running under a contextpath "/path" on my local tomcat without problems. When I deploy it on a webserver (using a proxy to redirect from "http://www.domain.com" to "myserver:8080/path/") Struts does all kinds of strange things. First, it includes the context in -tags. That can be turned off by an attribute...

PHP closing tag unnecessary ?

Possible Duplicate: why in some scripts they omit the closing php tag ?> As explained in the Code Igniter style guide, it seems that PHP closing tags are optional. It even say you should avoid it for several reasons. Anyone would have some more information about this issue ? Thanks ! ...

Is it possible to angle a input field and textarea with CSS?

Ok Boys! I got one for you all. Has anyone figured out how to angle a text field in a form? I'm tired of perfectly straight horizontal fields and I would like experiment with something different. I don't want to use flash. A little tilt action please. Cheers. Erik ...

Wordpress tags - select from pre-determined list?

I have a WordPress install in which registered users are allowed to post articles. The problem lies in the Tags section. I like the idea of letting them add tags, but it's getting crazy. Often there are 3 or 4 of the same tag just spelled differently, sometimes people put weird stuff for tags, etc. I'd like to be able to allow "adding...

Wordpress - Delete all tags by Post ID

Hey Guys, I've got a function to add a tag by post ID, but now I would like to delete all the current tags for that ID before adding my new tags? Does anyone know a built in function or wordpress query to do this? -Hudson ...

svn branching and tagging best practices

I have a project for which I am ready to create a branch, which will be branch 1.0.x for all of the 1.0.x changes. I also want to have a set of tags to correspond to changes to that branch, i.e. 1.0.1, 1.0.2, etc. When I first create this 1.0.x branch, I am also creating a tag named 1.0. At this point, the branch and the tag have the sam...

ASP.NET MVC: difference between <%: and <%=

I can't find this info anywhere. Probably because Google is ignoring the keywords. Is there a difference between using <%: and <%= in your asp? They seem interchangeable. ...

HTML <strong> tag

Is using more than one <strong> tag actually make the word stronger? i.e. is <strong><strong>abc</strong></strong> stronger than <strong>abc</strong> ? I'm asking this because if you view the HTML source of the official website of North Korea, http://www.korea-dpr.com/ you will see it has many strong tags. Is this supposed ...

Custom tag handler class with tag-file?

We can subclass Java-classes when creating JSP... <%@ page extends="my.package.JspPage" %> Is something similar possible with tag-file? ...

jsf dynamic tag from string

hi all i want to show some data to the user the data maybe represented to user by different JSF tags based on a configuration for example some times it may represented by text and sometimes it may represented by graphical symbol or even chart also i want that this representation be customizable. how could i do this? ...

Using if is_page() Wordpress conditional statement

Hi all, I'm trying to have different pictures on every one of my pages built on wordpress. So I have the following in my index.php file, archive.php file, page.php file, etc: <img src="<?php bloginfo('template_url'); ?>/images/<?php echo $toppic; ?>" alt="page1" id="mainPageImg" /> Now, in my page.php file, I have the following: <?...

Perl: Global substitution within tag-delimited string

My goal is to replace all instances of a trailing - to a trailing + within tag brackets. Lets assume the line to be replaced looks like this: <h> aa- aa- </h> <h> ba- ba- </h> and should afterwards look like <h> aa+ aa+ </h> <h> ba+ ba+ </h> First I tried this expression: s/<h>(.*?)-(.*?)<\/h>/<h>$1+$2<\/h>/g; which yielded th...