tags

Term extraction: Generatings tags out of text

How to get the same results as http://developer.yahoo.com/search/content/V1/termExtraction.html This question has been asked quite a few times before. http://stackoverflow.com/questions/1078766/best-approach-to-analyze-text-in-php http://stackoverflow.com/questions/711062/what-is-a-good-keyword-extraction-web-service http://stackoverf...

Javascript PHPBB-like URL tag processing

Hi all! I'm working on a php dynamic web page that has a element that let user write and their text is show in "real time" just javascript-processing the text & tags on a element. I change the "b","u", and tags between brackets (like phpbb style) to its html equivalent like "strong" ,"u", and so using javascript regexps. Problem occ...

PHP Tag Cloud

I am looking for help with the database scheme, not the actual "cloud" itself. In a site where users submit images and can tag images, how should the database be setup for optimal performance? I was thinking ID - int(11), unique, auto_incremenet tag - varchar(20) imageID - int(11) so suppose i upload an image, and tag it "toronto, s...

How to programatically get the nested components from a Struts2 tag?

How can i get all the nested tag elements from a struts2 tag? for instance text and checkbox tags from form tag?: <s:form> <s:text .../> <s:checkbox .../ <s:form> I know that form is a tag defined in strust-tags.tld and it extends the org.apache.struts2.views.jsp.ui.FormTag, but how does it goes behind the scene to get the nested t...

CVS to SVN conversion -- How to replace CVS TAGS functionalities

Hi, we are planing to move away from CVS and to SVN. Everything looks good expect that our developers do a pre/post tags on each submission. So, in CVS we don't have a problem as TAGS are intuitive and cheap. However, in SVN, Tag is a copy right? With that said, I am wondering if there is a way for me to do a before and after tag base...

How to extract ID tags from MP3 files in Cocoa?

Please advise some way to extract MP3 attributes using simple API. Is there any other libraries other than ID3.framework? I found that it is quite out-dated and has memory leaks. Thanks a lot. ...

Git, rewriting history of master branch and associated tags

I've just had my first experience with rewriting the history of one of my repos (using git-filter-branch). The problem is that the repo had several tags, which after rewriting seem to be completely disconnected from the resulted history. I think this is due to the fact that the history associated with the tags hasn't been rewritten, so t...

What's the most common method for exploding a string of tags?

I'm not really concerned about the implementation so much as what the most common method would be. Our users aren't very techy so we get a lot of tags that don't exactly follow directions. I'd rather conform to a greater standard than try to make it up myself. Should we even allow different methods or just accept one delimeter like ", "...

PHP-Retrieve content from page

I'd like to retrieve a page's content and reformat it to my liking... For example: Go to example.com Get content within tags with class "x" Pass content to specific variables Spit out the content in some pretty form..array, csv, xml... Not too hard, right? I'm a PHP noob! :) ...

Find related tags using acts_as_taggable

I am having trouble using find_related_tags with an :any and :all option and can't find any working examples. Without the :all option find_related_tags returns all fields in the array that I am providing, ideally it would only return tags that are related to all fields in the array. ...

Output List content using ICEFaces

Hello, I want to show a List using ICEFaces, and I want to output it like: TAG1, TAG2, TAG3. But without using , or <% for (...) { ... } %>, is there a way to do this? Thanks! ...

How to quickly retrieve tags in array from string?

I have $_GET['tags'] = "apples, oranges, bananas, grapes, cherries" I need to place the data into an array ($tags). What is a quick way to trim each item and perform security functions (stripping html, special chars)? ...

Passing dynamic attributes between JSP tags?

I have a set of JSP tags that use dynamic-attributes to allow for arbitrary HTML attributes to be passed in to them, like this: <%-- tag named a:div --%> <%@ tag dynamic-attributes="attrs" %> <div <c:forEach var="attr" items="${attrs}"> ${attr.key}="${attr.value}"</c:foreach>> </div> I then have another tag that I want to be able to p...

jquery link tag enable disable

I want to disable the link during onloading, for the code given below <span id="addlink">"<%= f.add_associated_link('Add Task', @project.tasks.build, :class=>"add") %></span> please,suggest some answers if you have i tried with the below samples but not working $("#addlink").attr("disabled", "disabled"); and $("a.add").hide(); ...

why does git allow remote tags to move, or why you can't use git-tag for atomic test-and-set

I have a problem where two similar processes are running in parallel within separate clones of the same repository (typically on different computers). Each time a process runs, it fetches the latest tags from the remote and then deduces a unique number based on the tags it sees. E.g. if these tags exist on the remote: 1.0 1.1 1.2 1.3 th...

Problem in running Classic tag handler

Hi, I want to display the body value of JSP in custom tag name Simple from the tag handler by extending the class, BodyTagSupport, but getting a runtime exception ;o) The JSP code is: <html><body> <%@ taglib prefix="mine" uri="simpleTags" %> Advisor page <mine:simple> Balle Balle </mine:simple> </html></body> and the Tag handler cl...

Custom Tag inhertance.

Hello, I have a JSP custom tag "A" defined in my .tld. It has 3 required attributes. It has its ATagHAndler that inherits SimpleTagHandler. I need a new tag "B" that does excatly the same thing as the above "A" but in a little different way. Also the attributes that are present in "A", i copied them to "B" in the .tld file (Code duplica...

Can I use grails tag outside of GSP

For example, i can put <g:createLink controller="user" action="show" /> inside a .gsp file and it will work nicely. But also I'd like to use the same closure createLink inside a .groovy file which is not part of the grails views ...

Retrieving the tags for a post from a Wordpress plugin

I'm new to Wordpress plugins, and editing someone else's to add functionality. I need to retrieve the tags for a particular post. The get post function is already in use inside the plugin and returns category information. Unfortunately nothing is returned for tags. The get the tags function appears to be most appropriate but it only ru...

Tag, comment, rating, etc. database design

I want to implement modules such as comment, rating, tag, etc. to my entities. What I thought was: comments_table -> comment_id, comment_text entity1 -> entitity1_id, entity1_text entity2 -> entitity2_id, entity2_text entity1_comments -> entity1_id, comment_id entity2_comments -> entity2_id, comment_id .... Is this approach correc...