FAQ Database Discussion Community


SiteCatalyst Exit Links with “#” href

javascript,tags,web-analytics,adobe-analytics
I'm struggling to understand how to stop some automatic Exit Links tracking, due to the trackExternalLinks=true option in the s_code library.These links have just the "#" href attribute and every click upon them is firing the automatic Exit Link tracking request.My obvious thought was to include the "#" string in...

Tag returns null when trying to write NDEF message to NFC tag - Tag is not detected

android,android-intent,tags,nfc,ndef
I am trying to write an NDEF message to a tag. Below is the code that I have. I run the code using the debugger in my IDE, but after executing the line Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); tag is null (I assume this means that no tag was found) and...

How to style a tag for current div with css?

html,css,tags,styling
My div: <div id="dialog" class="window"> <table class="modalWindow" border="1"> <tr> <td colspan="2"><input type="text" id="feedName" value="" /></td> </tr> <tr> <td><input type="submit" id="renameFeed" value="Submit"></td> <td><a href="#" class="close">Close it</a></td> </tr> </table> </div> Need to style <a href="#" class="close">Close it</a> with css for current div. How to do it?...

How to print html tags

php,html,tags
I want to create a html list item with php for a webpage with dynamic content by printing the tags. I want to do something like this <?php ... ... print(<li>$Row['Name']</li>); ... ... ?> but it doesnt work. How can I do that ?? Thanks for your help....

How to exclude files/directories when running a Cucumber Rake task?

ruby,tags,cucumber,rake
I currently have two folders with different features within my scenarios folder: features scenarios folder_1 first_feature.feature folder_2 second_feature.feature Inside these features I have many scenarios that share some different tags first_feature.feature: Feature: One @tag1 @tag2 Scenario: Scenario 1 @tag3 Scenario: Scenario 2 second_feature.feature: Feature: Two @tag1 @tag4 Scenario: Scenario 3...

How to make a multi model tag_cloud with a join table?

ruby-on-rails,ruby,model-view-controller,tags,acts-as-taggable-on
I have a join table create_table "combine_tags", force: true do |t| t.integer "user_id" t.integer "habit_id" t.integer "valuation_id" t.integer "goal_id" t.integer "quantified_id" end whose purpose is to make a tag_cloud work for multiple models. I put this in the application_controller def tag_cloud @tags = CombineTag.tag_counts_on(:tags) end My tag_cloud looks like this:...

Insert tag after another tag

php,html,wordpress,tags
I am trying to insert a custom tag after H3 tag with a certain class by inserting code into my theme's function.php file. Below is what I am doing but unable to achieve it. If I have this, showing on a page currently: <h3 class="title">TITLE HERE</h3> <div class="desc"> I would...

Change HTML tags, including children of same tag

javascript,jquery,html,tags
I'm using this previously answered question about altering an HTML tag and while trying to update some HTML tags, I'm having trouble reaching the tags within a parent of the same tag. For example, updating a span to a div should result in: <div> <div>div within a div</div> </div> But...

jquery use data tag selector after updating data tag on element

javascript,jquery,data,tags
I want to be able to get a set of elements that match a selector in jQuery. I have HTML with data tag attributes that get altered dynamically by jQuery using the .data(key, value) method. However, after dynamically updating an element's data tag it seems I can no longer use...

How to use HTML5 Entities in Rails 4 Helper Tags

ruby-on-rails,html5,tags,helper,entities
I've been trying to use cdata_section, content_tag, escape_once and tag from the tag helper on rails to make the "X" appear from ✖ <%= link_to( ("&#x2716;"), url_options = {:base_rate_id => rates.id}, class: "button tiny" ) % no luck with the different methods. it either displays nil or the raw literal...

My tag disappears when I load the page in a browser, this results in my form not working, any ideas why?

php,html,sql,forms,tags
My tag disappears when I load the page in a browser, this results in my form not working, any ideas why? I have tried different browsers but I get the same results. <?php session_start(); if(!isset($_SESSION["username"])){ header("location: login/loginform.php"); }else{ echo "Du är inloggad som " . $_SESSION["username"]; } ?> <html> <head...

Inserting template code below code in Handlebars layout.hbs

javascript,express,tags,handlebars.js,region
I am working with an Express Handlebars project and have a template foo.hbs and it has some javascript I want to insert below the script tags in layout.hbs: <!DOCTYPE html> <html> <head> <title>{{title}}</title> <link rel='stylesheet' href='/stylesheets/style.css' /> </head> <body> {{{body}}} <script type="text/javascript" src="../bower_components/jquery/dist/jquery.js"></script> <script type="text/javascript"...

Microsoft Release Management : option to switch deployment order in a tag does not exist?

parallel-processing,tags,sequence,ms-release-management
On this page it's described that "Now you can use tags with the servers in your Azure or on-premises (standard) environments. ...With tags you can also switch the deployment order from parallel to sequence." See this picture: However in our version from MRM (ReleaseManagementConsole.exe ; 12.0.31101.0 ; Nov 1 2014)...

I'm getting a tag lost exception when I try writing to an NFC tag

android,tags,nfc,mifare
I hope someone can tell me what I'm missing here. Maybe it's my approach to connecting. My Tag, is in fact a Mifare Ultralight so I'm not getting things wrong there. I debugged, connecting to the tag was successful - everything seemed fine. But the log keeps on saying: android.nfc.TagLostException:...

Django non-ASCII chars in template tags values

python,django,tags,django-templates,python-unicode
I'm writing a custom Django template tag for a french application. My template tag takes a parameter which is a string: {% mytag "Hello" %} Is works perfect, but fails when trying to put some non-ASCII chars in the value. How would you get this thing work: {% mytag "Êtes-vous...

html div center text between images

html,css,tags
I have the following (modified with valid code): <div width:50%> <img height="30px" width="30px" src="some1.png"/> <img height="30px" width="30px" src="some2.png"/> <span>A bunch of text that will wrap around to two or more lines</span> <img height="30px" width="30px" src="some3.png"> </div> My problem: I can't seem to be able to center the text between the...

Place HTML-tags into WordPress page using dashboard

html,wordpress,tags,dashboard
I try to put this HTML into my page content using dashboard: <div> <p class="text-center"> <a class="btn btn-large btn-light" title="Kontakt" href="/?page_id=20">Kontakt <i class="fa fa-phone"></i></a> <a class="btn btn-large btn-light" title="Standorte &amp; Informationen" href="/?page_id=20">Standorte &amp; Informationen <i class="fa fa-globe"></i></a> </p> </div> But here is the HTMl what I getting on page: <div>...

How to access the content of a custom cell in swift using button tag?

uitableview,swift,uibutton,tags,tableviewcell
I have an app that has a custom button in a custom cell. If you select the cell it segues to the a detail view, which is perfect. If I select a button in a cell, the code below prints the cell index into the console. I need to access...

Searching for all open HTML tags and closing them [PHP]

php,html,tags,close
I've got a page on our church website called "The Fridge" which is meant to mimic a fridge where you place sticky notes for information on what's happening in the church. You can see it here: http://www.ypc.org.au/resources/fridge Because sticky notes may be various sizes and have more or less information,...

Select (and remove) between tags without tags with Regular Expressions

html,regex,tags
i have the following example: [ame="http://www.google.com"]Google - a search engine[/ame] i have tried [ame=.*](.*?)[/ame] and it selects the tags and the text. i need to select everything between the [ame][/ame] tags in order to delete it. I use Sublime Text that uses Regular Expressions but i cannot select only the...

How to get the text of a external JavaScript without webserver-stuff (i.e. AJAX)

javascript,html,text,tags,script-tag
I'm writing a WebGL application. Until now I put my shaders in <script>-tags right into my standard html file (let's call it index.html). So it was easy to just "parse" the shader-code by using .text on the script-tags taken with getElementbyId('foo'). But now I think that's untidy. I want my...

Extrace the text in html tag and put it as table title

html,excel,vba,table,tags
Now the table title is set as tblNameArr = Array("Balance Sheet", "Cash Flow", "Header 3", "Header 4") how to change the name of four table titles according to the text in html tag? e.g. I want the first table name changed to "重要财务指标" which the name is "a1" and id...

Do pages loaded by AJAX need html & head & body tags

html,ajax,tags
I have a web page that loads the content of tabs via AJAX. Each tab is a separate html file. Does each html file which is loaded by ajax need the full <html><head><body> etc structure and tags? It seems to work fine with the outermost tag being <div> but I'm...

custom WordPress tag.php page .. trying to get tag info

wordpress,tags,wordpress-theming,wordpress-theme-customize
I'm creating a custom tag.php page for a WordPress theme. I need to get the name, id and slug for the tag page that I am one (i.e. www.site.com/tag/fruit/ )... I see tons of examples online about how to list the tags for a page/post, but none that say how...

Django get content associated to the tag when clicked

python,django,filter,tags
I wanted to know how I can filter the tags. I mean : If this tag is clicked, show all the article who have this tag. (django - 1.7.4 and python 2.7.9) views.py def tag(request): context = {} populateContext(request, context) return render_to_response('ajouter.html', context, Context({'tout_tags': Article.tags.all()})) def innertag(request, id): context =...

XYZ Not working in android

android,html,tags,textview,clickable
i have searched on Stack overflow and followed the solution but still not getting what i want. i am receiving String from server like this <p><a href="http://www.arenafootball.com/sports/a-footbl/aflsrk/mtt/micheaux_robinson_841978.html"><span style="font-size: small;"><strong>AFL Stats</strong></span></a></p> and now i am trying to display it in TextView in android usingtv.setText(Html.fromHtml("")) Code: TextView tv = (TextView) findViewById(R.id.tv);...

'@android:id' notation in layout files

android,view,tags
I couldn't find any extensive documentation on the following notation: @android:id/tabs I found the following explanation: @android notation is used when referencing resources defined by the Android system in this blog. What does "resources defined by the Android system" mean? Under what circumstances would I use these resources? ...

jquery plugin for tag @name project members and #lables

jquery,tags,members
is there an jquery plugin that we can use for an input text to tag usernames like this: @name that it gives autocompletion of the names and also for #tag ...

How do I stop video autoplay in Firefox 37?

html5,video,tags,autoplay
I need the controls, but don't want the video to autoplay. The code below, doesn't work. <video id="Video1" poster="assets/img/bg-header.jpg" autoplay="false" controls autostart="false"> Thanks, Sabin...

ITC app vs itunes connect web page, sales and trends

tags
why is it when i check my ITC app on my phone the daily app downloads vary to the itunes connect web page, for example the itc app says i have 6 downloads of a particular app and the itunes connect webpage says i have 9 on the same date?...

Git merge/cherry-pick all commits of a branch

git,merge,tags,git-branch,git-cherry-pick
Scenario: master | \ dev | \ feature1 | | | / | / tagV1 | \ feature2 | | / | / tagV2 | \ fixForV1 | | / | / tagV1_1 Description: Create repo Create and checkout branch dev Create and checkout branch feature1 .. implement the feature...

{{ content }} Liquid tag not showing blog posts

html,tags,jekyll,shopify,liquid
Link to repo: https://github.com/AlvSovereign/AlvSovereign.github.io Hi all I am a beginner using jekyll and new to web development, so please be patient with me. I am coding my portfolio site, with a link to my blog. The fully processed portfolio site sits in _site/index.html which contains a link to the blog...

ios/xcode/coredata: How to mimic ajax call in objective c

ios,core-data,tags,textfield
For a tag system, when entering a new item, I'd like the user to start typing a letter or two and see possible tags...similar to how SO tags work on the website i.e. Ajax. Is there a way to do this on IOS? Basically the Add Item screen has some...

How can I get only tags of html?

javascript,html,node.js,parsing,tags
How can I get only HTML tags with NodeJS ? I have this: <html> <head> Hi </head> <body> <center id="fantastic"> Hi , hello </center> </body> </html> And I want to delete Hi and Hi , Hello and get only the tags, and i want remove too the id="fantastic". Any idea?...

Generate unique tags to repeating results of a command

bash,shell,tags
I have a script running which generates continuous output such as: /AtherosC_92:f1:a7 BTHub4-NJ8S -82 /AtherosC_92:f1:a7 BTHub4-NJ8S -81 /95:8c:ed:6d:65:f5 Home245 -84 /AtherosC_92:f1:a7 BTHub4-NJ8S -78 /3d:cc:54:d1:4f:f6 BTWifi2 -82 /Apple_e5:e8:2d SKYBD80F -71 /Apple_e5:e8:2d SKYBD80F -71 /Apple_e5:e8:2d SKYBD80F -72 Each line is comprised of 3 sections (string, string, int as above). I need to...

How can I get a tag in a view and set some InnerHtml to this tag?

c#,tags,asp.net-mvc-5,innerhtml,asp.net-mvc-views
I am coding a MVC 5 View, and I would like to set the InnerHtml of an HTML element. Here is the HTML code that I would like to add some additional HTML to: <section id="mainContentArea" class="content"> <!-- Your Page Content Here --> </section> As a test, I would like...

How can write '<' in HTML tag?

html,text,tags
I wanna write text between of a tag that it should have < . but I can write it for example <div class="SampleDiv">Text1<Text2<Text3</div> How can fix this problem?...

Why are
tags duplicated when using the 'for' php function?

php,for-loop,tags
This code is supposed to help me in limiting the amount of characters seen in the timeline page. If the post is too long, (more than 400 characters), it should display a 'see more...' which should take the reader to a new page (posts.php?post=XXX). When I use this function, the...

Use formatting tags in XML

html,xml,xslt,tags,formatting
Below is the source code for XML and XSLT file, the output that I am getting is "Bold Text Italics Text" the bold and italics formatting tags are ignored. How can I adjust this code to make sure ALL tags are applied and my output text is in bold/italic? XML...

Nose test runner finding all tests except a tag

python,tags,nosetests
I'm trying to figure out if there's a way to have the nose test runner run all tests except for those with a specific tag. Looks like this is possible with attributes but I don't see if there's a way to do it with tags, which are a subset of...

How to fix a button on an image background, and to keep it there upon resize?

jquery,html,css,tags,imagemap
What I would like to achieve is to add a tag on peoples faces on my website. I know the image map property, but the problem is that the background of the main Div has to be set to 'cover'. But when the window is resized the coordinates of the...

HTML empty DIVs not well rendered by browsers

html,browser,tags,xhtml
I receive XHTML documents that sometimes contain the following code: <div align="center" /> My problem is that browsers (Firefox 38.0.1, Chrome 43.0.2357.65) display this code as an opening <DIV> tag and not, as I expected, as an empty div (<DIV></DIV>). The rest of the document is, therefore, completely messed up....

How to Use a Tag to Change the Properties of Multiple Items With That Tag?

c#,visual-studio-2010,visual-studio,visual-studio-2012,tags
I have multiple 6 buttons, that when you click on each button, they will change their properties, and deactivate other properties in the others of the same tag. The code I have at the moment doesn't use tags and is very long winded for doing this to every button click:...

Extracting data between tags from huge text (XML) files

xml,tags,extraction
Note: I'm on a Windows 7, 64 bit system - just installed cygwin. I need to extract large amounts of data from a lot of different large (100s of MB) XML files. The xml files contain a bunch of sequences of lines that looks like: <taggie> lotsolines which include some...

Can't figure out with character encoding in PHP

php,ajax,youtube,tags
I have put together little utility for reading youtube video tags. http://www.daviddresden.com/tagreader/ <?php header("Content-Type: application/json"); error_reporting(E_ERROR | E_PARSE); $_POST['fn']='https://www.youtube.com/watch?v=OgAt8Ehg0eo'; if(isset($_POST['fn']) && $_POST['fn'] != ''){ $url = htmlentities($_POST['fn']); $page_content = file_get_contents('https://www.youtube.com/watch?v=OgAt8Ehg0eo'); $dom_obj = new DOMDocument(); if($dom_obj->loadHTML($page_content)){ $dom_obj->loadHTML($page_content);...

jQuery. Convert string to jQuery object and remove link (a) tag

jquery,tags
I want to remove a href tag from string. From this: "google okss strognsstrong" To this: "google okss strognsstrong" I already tried: function removeElements(text, selector) { var wrapped = $("<div>" + text + "</div>"); wrapped.find(selector).remove(); return wrapped.html(); } var newContent = removeElements(tinyMCE.get('opt3').getContent(), 'a'); But get error: Cannot read property 'find'...

tags search with amazon cloudsearch

amazon-web-services,tags,amazon-cloudsearch
I have products that are tagged with keywords. Tags are not unique to any products. product 1 - tag1, tag2, tag3 product 2 - tag2, tag3 product 3 - tag1, tag2, tag4 I intend to use Amazon Cloudsearch for a start. What is the optimal way to populate the dataset,...

Python lxml - find tag block ammend

python,xml,xml-parsing,tags,lxml
I have the below xml which I have opened and parsed and I now need to find the specific product block with the territory 'IE' and then amend its 'cleared_for_sale' and 'wholesale_price_tier' values, but am unsure how to do it. Heres what doesnt work: a = 0 territory = "IE"...

Flatten a named list in R

r,list,tags,data.frame,flatten
This is a very simple question, I can't believe I can't figure it out. I've searched high and low for a solution. I have a named list, like so: > fitted(mdl) 1 2 3 4 5 6 7 8 -424.8135 -395.0308 -436.5832 -414.3145 -382.9686 -380.7277 -394.2808 -394.3340 9 10 11...

Allow some html tags [closed]

php,html,tags,strip-tags
I need to allow certain html tags (br,p and strong) and I have encountered this code. (strip_tags($this->parent->content[$i]['text']), $this->parent->config, 'portal_mode_grid_news_text_length', '&hellip;').'</p>'; All I need is to allow those tags I have stated previously, but I don't know how to do it....

Selenium - Xpath locate elements with different IDs

selenium,xpath,selenium-webdriver,tags
I am trying to locate element which may have different ID at times. Here is the example : id = 'greenbay_packers" id = "Sf_49ers" Now, is there a way do to some kind of OR operation in find_element method? so that I can use same element locator for test steps?...

On clicking a specific hyperlink, should I get value corresponding to it?

javascript,html,jsp,hyperlink,tags
Within a for-loop, I am creating a number of hyperlinks, eg: list of students . Now on clicking name of one student, I should get their details displayed on next page which i will be able to fetch using name, but how to get that name which I have clicked?...

Keep child tags when I get text content with DOM in Java

java,xml,dom,tags
I am writing an XML generator in Java and I have a structure like that (I simplify it for the example): <autocue> <sentence> <illustration>smile.jpg</illustration> <text>I am a <color red="255" green="0" blue="0">sentence</color> <italic>text</italic>.</text> </sentence> </autocue> I parse this kind of XML file and I works well, but when I use getTextContent()...

NFC Temperature Logger Commands

android,tags,nfc,rfid,iso-15693
I am coding an Android aplication. I have a SL13A Temperature Data Logger and I am trying to read temperature from the logger, but I don't really know how. Here is the datasheet: http://www.mouser.com/ds/2/588/AMS_SL13A_Datasheet_EN_v4-371531.pdf I am using the Get Temperature Command (command code 0xAD). My code is like that: NfcV...

Get Posts by Tag in Wordpress

wordpress,tags
I want to get Posts in My Home Template with specific tag "iinluv" I have written query codes but failed. Here are my Codes. <ul class="team-list"> <?php $args = array( 'post_type' => 'product', 'tag' => 'iinluv', 'posts_per_page' => -1, ); $loop = new WP_Query( $args ); while ( $loop->have_posts() )...

unexpected end of file in html code [duplicate]

php,html,tags
This question already has an answer here: PHP Parse/Syntax Errors; and How to solve them? 10 answers this is my senaraiperalatanstaf.php.. i added the php code in between but after that it says that i have parse error that is unexpected end of file. i have tried searching but...

CSS: Selectors Property Inheritence

html,css,tags
I'm new to css so I have this question: Having this html document: <!DOCTYPE html> <html> <head> <style> body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; } p { font-family: "Times New Roman"; font-size: 20px; } </style> </head> <body> <h1>My First CSS Example</h1> <p>This is a paragraph.</p>...

Using tags in Swift

ios,swift,uibutton,tags
I have about 15 UIButtons in my controller. Im trying to clear 10 of them with a simple for loop and looks like I am getting some kind of conflict. When I hit the button to clear, I get the following error: Could not cast value of type '_UISizeTrackingView' (0x18a023c)...

HTML Highlighting Tags On Hover

javascript,html,css,tags
Given the following html: This is a test to <cpos data-idcpos="10" data-comment="1"> highlight only this portion of text </cpos> and not this My task is to highlight only the cpos portion. I am able to highlight a div class on my own, but a little confused on how to do...

Simple but reasonably accurate algorithm to determine if tag / keyword is related to an image

image,algorithm,tags,keyword,training-data
I have a hard problem to solve which is about automatic image keywording. You can assume that I have a database with 100000+ keyworded low quality jpeg images for training (low quality = low resolution about 300x300px + low compression ratio). Each image has about 40 mostly accurate keywords (data...

Adding Tags in Rails

ruby-on-rails,tags
Adding Tags and I Get this ERROR: SQLite3::SQLException: no such column: taggings.available_work_id: SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."available_work_id" = ? Available_work.index.html <tbody> <% @available_works.each do |available_work| %> <tr> <td><%= available_work.title %></td> <td><%= available_work.description.html_safe %></td> <td>Tags: <%= raw available_work.tags.map(&:name).map { |t| link_to t,...

Merge tags from remote repository and keep tag history?

git,tags,git-merge
I'm trying to merge kernel revision tags into a kernel for an android device using git. So far I've done this git fetch <linux-stable reop> <branch> git fetch <linux-stable reop> <branch> To merge a tag, I ran git merge <tag> such as git merge v3.10.45 This makes all the necessary...

How the docker git repo is showing different tags in pull requests like status/need-review

github,tags,docker,pull-request
How the docker git repo is showing different tags in pull requests like status/need-review? What are the plugins they are using. Is the same one can be used for bitbucket, if not is there any alternatives?

GTM Google analytics dataLayer get wrong values

google-analytics,tags,manager
I defined a dataLayer to store some informations for pages, its looklike: dataLayer = { pageType: "Page type", mainCategory: "Main category of page", subCategory1 "Sub category level1", ... } Then I define custom dimensions: custom_dimension1: mainCategory custom_dimension2: subCategory1 .. With Scope is Session. I use Google Tag Manager to debug...

Is it possible to run a script when a build is tagged in Teamcity?

tfs,tags,teamcity,build-automation
We are using TeamCity 9.x as are main CI server. I'm looking for ways to run a script (PowerShell, Python, ...) when a build is tagged. Is this possible? The only thing I can think of is to write a simple service which polls the REST API for the last...

how to view and edit meta tags in python programming

python,tags,id3
I have used other programming languages like java to edit meta tags but every time i am only able to edit the number in the genre tag. I have seen in many soft wares like media monkey enables us to edit the genre tag with the name we want. Currently,...

How to find tag in XML by value?

java,xml,tags
I have this code: protected void getFilmsByActorFromXml(String xmlFile, String actorName) { try { dbf.setValidating(false); db = dbf.newDocumentBuilder(); doc = db.parse(xmlFile); doc.getDocumentElement().normalize(); nList = doc.getElementsByTagName(actorName).item(0).getChildNodes(); that can find and give me all values of actor name. Now in XML i have a new tag (word). I need to print all values...

How to keep comma between tags in _form?

ruby-on-rails,ruby,tags,acts-as-taggable-on
For some reason my commas keep disappearing whenever I go to edit the _form, which means if I resubmit the _form now all the tags in that _form are combined into one big, ugly tag :/ I have this line in my _form <%= f.text_field :tag_list %> I closely followed...

How to get tags from the database?

php,tags
My database structure: News: id | title |description | slug Tags: id | title | slug Tags news: id | id tags | id news And the code: $sqltagi = mysql_query("SELECT id_tags FROM tags_news WHERE id_news LIKE '%$id%' ORDER BY id_tagu DESC"); if (!$sqltagi) { echo 'Error: ' . mysql_error();...

Tags in MongoDB

mongodb,tags
I am new to MongoDB. I have a product which can have multiple tags. I saw tutorials where the collection was like: { _id: 1234, tags: ["stationery","electronics"] } { _id: 456, tags: ["home","electronics"] } { _id: 135, tags: ["books","stationery"] } I have a fixed list of tags. All my products...

OR condition in Grails Shiro tag

grails,tags,shiro
I am doing a two level menu and I want to show some entries if the user has certain permissions. I dont want to show the first level of the menu if the user doesn't have permissions to any other submenu because it would display an empty list of results....

Android NFC passing single parameter when starting application

android,tags,nfc,ndef,android-applicationrecord
I would like to start an application using an NFC tag. I got that part working using an android application record (AAR) as described in Start Android application from NFC-tag with extra data or by using NDEF_DISCOVERED / TECH_DISCOVERED intent filters. But how do I pass data from the NFC...

Jquery tagsinput not creating tags automatically on pasting input

jquery,tags,paste,eventtrigger,jquery-tags-input
I'm using jquery.tagsinput and would like to be able to paste a list of email addresses separated by comma or space. Using something like this https://github.com/xoxco/jQuery-Tags-Input/issues/22 but it doesn't add them until I press Enter - Tried triggering keypress Enter event but it doesn't work. No luck with blur event...

Get message of tags using JGit

eclipse,tags,message,jgit
I need for each commit, to get the name and message of the associated tag. I managed to get the tag name associated with my commit . But I can't get the message. I tried like this: String nameTag = ""; List<Ref> call = new Git(git.getRepository()).tagList().call(); // get all tags...

How to check text field empty or not with tags xcode

objective-c,xcode,tags,uitextfield,is-empty
I am using text fields for signup it's have 7 text fields like Name, Email ID, Phone number etc., How do I check each and every text field not empty. I am set tags each text field start from 101 to 108 Is anyway to check that with for loop...

Woocommerce add classes to tags

wordpress,tags,woocommerce
I'd like to add class to tags in woocommerce product tags. Here's my current code: <?php echo $product->get_tags( ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', $tag_count, 'woocommerce' ) . ' ', '.</span>' ); ?> Output <a rel="tag" href="">spicy</a> What I want <a rel="tag" href="" class="spicy" title="spicy">spicy</a> ...

followed by

html,css,tags
Well, I have a H2 tag with a company name and next to that in the same line we need to have a Superscript tag (TM), I have: <h1 class="Red">Company Name</h1><sup>&#8482;</sup> I get: Company Name ™ I guess there is a way to avoid this newline between those tags using...

How do I remove Tag in GitLab repository

git,tags,gitlab
I am using GitLab 7.7.2 and tried to remove Tag in a repository in GitLab. I could remove tag in a local repository but cannot remove tag in origin. How do I remove tag in GitLab repository? $ git tag -d Tag_AAA Deleted tag 'Tag_AAA' (was d10bff2) $ git push...

Is there way in Shopify to categorize “Collections” in lists?

collections,tags,shopify,product,liquid
Say I want to show 2 different collection lists(just the titles with links to their relative pages) on 2 different pages in Shopify; is there a way in Shopify that can be done? As far as I can see, either I show all "Collections" on a page or none at...

Python NLTK Brill Tagger does not have SymmetricProximateTokensTemplate, ProximateTokensTemplate, ProximateTagsRule, ProximateWordsRule

python,tags,nltk,pos-tagger
When i try importing, from nltk.tag.brill import SymmetricProximateTokensTemplate, ProximateTokensTemplate from nltk.tag.brill import ProximateTagsRule, ProximateWordsRule Python Throws Import Error, ImportError: cannot import name 'SymmetricProximateTokensTemplate' What's the problem? but this works from nltk.tag import brill ...

Should and tags be on a different level of indentation to ?

html,tags,indentation
I have always wondered but can't really find an answer anywhere if there are any set standards regarding indenting the body or head tag. Is this version correct? <html> <head> </head> <body> </body> </html> Or this one? <html> <head> </head> <body> </body> </html> Whilst I appreciate that it probably doesn't...

Change Visual Studio 2013 Summary Tag Color on Dark Theme

xml,visual-studio-2013,tags,documentation,themes
When I have the Blue Theme on VS2013, the summary shows as: But when I change to my preferred theme, the Dark theme, the summary tag becomes all green: I like the grayed out version, since it gives more attention to the summary's text, instead of the tag itself, I...

preg_replace expression and wrapping expression

php,tags,preg-replace,bbcode
So I've put together this BB code thing that will convert certain tags to html tags later on. It all works great, except when it comes to a h tag and align=center/left/right/justify tag (which translates to <h1> and <p style="text-align=center/left/right/justify"). It would seem like it interferes with the script due...

Inserting new lines into innerHTML output

javascript,html,tags,newline,line-breaks
If I were to have a string for a variable be var text = "Hello World!" and I wanted to place a new line after the word Hello, I know I can just create a new variable var b = text.replace(" ", "\n"); and console.log(b) will show the text in...

Insert an HTML Tag Into an Angular Directive

html,angularjs,dom,tags,directive
I want to use an Angular directive to wrap a Bootstrap panel. I'm running into a problem, though, if I want to use HTML tags within the body of the panel. Given: $scope.panel = { title: "Title", body: "This is some <strong>cool</strong> text!" }; I would want my panel to...

Cycle through xml to add missing tag

xml,vb.net,tags
I'm working on an XML file that has opening tags followed by some child tags with inner text. When the opening tag appears again, it does so with no closing tag for the previous one. So for example, the file looks like this: <?xml version="1.0" encoding="utf-8"?> <invoice> <id>999</id> <newRa elem="0">...

PHP Comment Tag

php,tags,comments
In the wonderful world of Java/JSP, you can use this form of commenting: <%-- anything in here is ignored and does not get sent to the client it can span multiple lines and is useful for commenting out blocks of JSP, including tags and HTML: <c:if test="${some.condition}"> <p>All this is...

How the determine the most frequently occuring tags in an XML file with standard tools (Unix or Windows)?

xml,unix,xslt,tags,frequency
Given an XML file, I am interested to find out what are the most often occurring XML tags in it. A sorted list of all XML tags ordered by occurrence would be sufficient. Is there any way to achieve this with standard tools, thinking of grep and other Unix tools...

Adding missing html tags

c#,html,asp.net-mvc,string,tags
Is it possible to add missing html tags in ASP MVC. Here is what I mean: String x = "<p><b>Hello world how are you</b></p>"; Substing of that string at the first few character would result in: String x = "<p>Hello world "; Where there is the </p> tag missing, using...

Tagged boost::bimap in templates - do they work?

templates,c++11,boost,tags,bimap
I am embedding a boost::bimap in a templated class, and after much trial-and-error I have discovered something that compiles and something that does not. I am using g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) and Boost 1.55. I will give the full code in Example 1 and only the changed...

What is the semantic HTML tag to display for URLs that are not links?

html,html5,url,tags,semantics
I have a search engine plugin that outputs results in a basic structure: <a href="page url"> <div class="searchResult"> <h3>Page title</h3> <p>Page url</p> <p>Page <meta> description</p> </div> </a> The plugin is designed to integrate into an existing website so it has no default styling. However, websites are supposed to be usable...

Django tag filtering issue

python,django,tags,django-filter,django-taggit
I have a problem with my code, I want to filter the tags, to show only my articles who has the a certain tag. here is my code: views.py from article.models import Article def innertag(request, id): context = {} populateContext(request, context) return render_to_response('innerajouter.html', context, Context({"articles" : Article.objects.filter(tags__name=Article.tags), "tag" : get_object_or_404(Article.tags,...

SOLVED: Bash Script that exports Apple Tags (Mavericks Tags) to IPTC “Keywords” metadata (using 'Tag' and 'ExifTool')

bash,tags,metadata,photos,iptc
I frequently use the terminal on OS X for tasks like rysnc, ssh etc, but am still a complete noob at bash scripting. A client has a ton of images that they have been tagged using OS X tags. I need to append these tags into the IPTC metadata. So...

How to checkout a file in git based on a tag

git,tags
I have a commit hash abcx and I have given it a tag 100 . Now I want to checkout a file example.pl to that tag 100 . Is it possible in git ? I can do git checkout abcs example.pl , but I directly want to checkout a file...

How to work without xmp tag

javascript,html,tags,xmp
I've recently learn about the use of xmp tag, that it is deprecated, and a lot of people says to use pre, or to translate special characters with &lt;, &gt;, etc. ... but those solutions are not good in my case. Actually, i would like to put content in a...

How to scope only the tags a user has used

ruby-on-rails,ruby-on-rails-4,scope,tags
I am writing a Rails 4.2 app with models user, notecard, tag and tagging (for the m-2-m relationship). A tag can have multiple notecards and a notecard can have multiple tags. A card belongs to a user and a tag DOESN'T belong to a user. How can I scope the...

Does the title tag have content?

html5,tags,title
From my point of view, content has come to be defined as two separate things in HTML: 1) All of the information between the open and closed body tags that is visible on a webpage. 2) That which is visible on a webpage that is placed between any open and...

Weird Android device behaviour in reading NFC tech-list

android,tags,nfc,mifare,ndef
I am trying to read an NFC tag from 2 devices (Nexus 5 and Samsung S5). I am reading the tag through the foreground dispatch and using ACTION_TECH_DISCOVERED intent. On the Samsung S5, the tech-list lists NfcA, MifareClassic, and Ndef, but on the Nexus 5, it lists only NfcA. I...

How to .limit order by DESC, then order by (:id)?

ruby-on-rails,ruby,tags,order,tag-cloud
This limits the tags to the top 20 with the highest tag count: tag.rb scope :top_20, -> { where("taggings_count != 0").order("taggings_count DESC").limit(3) } I want to then order those 20 according to their :id instead of by their tagging_count application_controller before_action :tag_cloud def tag_cloud @tags = Tag.all.top_20.order(:id) end .order(:id) unfortunately...

PHP | how to find tag name of given content of xml

php,xml,tags
I want to build a function like this: function getTagNameOfGivenContent($content){...} And this is an example for xml: <w:r> <w:rPr> <w:rFonts w:cs="Arial" /> <w:sz w:val="18" /> <w:szCs w:val="18" /> </w:rPr> <w:t>tfInvLineTaxCode</w:t> </w:r> So when I call the function like this getTagNameOfGivenContent('tfInvLineTaxCode') It will return <w:t>tfInvLineTaxCode</w:t> Can anyone tell me how to...