I have this string stream:
"do=whoposted&t=1934067" rel=nofollow>61</A></TD><TD class=alt2 align=middle>5,286</TD></TR><TR><TD id=td_threadstatusicon_1911046 class=alt1><IMG id=thread_statusicon_1911046 border=0 alt="" src="http://url.com/forum/images/statusicon/thread_new.gif">…
I have a group of categories where the slug of each has a prefix "mycat-" and I would like to insert code into my sidebar.php file to create a custom sidebar widget that lists all categories except those preceeded by "mycat-".
Any help much appreciated.
Example Categories (by slug)...
mycat-hidden, mycat-favorites, mycat-nofollow,…
i m getting article description from a user in fckeditor where he can paste the links too
i want to detect my own site links and external links
so that i can make my own site links to open in same browser
and external have a nofollow attribute...
Whilst creating a site mirror using wget 1.12 on Ubuntu links with a rel attribute set are not downloaded:
<a href="link" rel="tag">text</a>
Rel="tag" is a microformat (By adding rel="tag" to a hyperlink, a page indicates that the destination of that hyperlink is an author-designated "tag" (or keyword/subject) for the…
I have a redirect script on my site which sends visitors to an affiliate site. However in the last month I've noticed that Google webmaster tools is reporting my outbound links as a 404 error. Here is the breakdown on how its setup:
My outbound links are coded like this:
<a href="/f/c123" rel="nofollow" target="_blank">Link…
I need a sanity check on this .htaccess (from a WordPress site) I inherited from a 5 month+ old site.
What's the symptom? Google + Bing crawl, but don't index any of the pages.
Let me be clear: I'm not mad about "not ranking high." I think something is (accidentally) rejecting search engine indexing.
I am not an expert on…
I am developing a website that has a drop-down menu at the top of it. The Menu has around 100 links in it that are repeated on every page. Every page also has some number of links below the Menu that may or may not be in the menu itself.
My issue is that Google says they generally don't like pages with more than 100…
Nowadays your site is not in fashion if you don't show at least a couple of share buttons like these:
Is this just fashion, or do people actually get something good out of it?
When I say "something good" I mostly mean something that you could measure, and not just the feeling that was good.
Maybe I can better…
Afternoon all!
Currently I have a website with a list of audio products (essentially a search engine for audio deals). http://www.soundplaza.co.uk
Once you go to the details page, you can then press the 'view deal' button to go to providers site e.g. =…
(Note that I am going to use screenshots here because I suspect writing about this will change the behavior over time.)
If you do a Google search for
uiviewcontroller best practices
either with or without the quotes, you end up with results like…
I want to display my Twitter Info in my blog. So I write some code to get it.
the issue I got is that Chinese characters displayed as unknown code.
Here is the test code. Could anyone take a look and help? Thanks
<html>
…
Rails likes giving all of my fields the same IDs when they are generated in a loop, and this causes trouble.
<% current_user.subscriptions.each do |s| %>
<div class="subscription_listing">
<%= link_to_function…
Hello,
i am trying to chop a string that contains several information in java ..
the text is something like that :
<a href="http://www.hootsuite.com" rel="nofollow">HootSuite</a>
i am thinking of using the .split…
I am working on a website in PHP where people can make comments similar to a blog, and I only want particular tags to be allowed. Are there any pre-built libraries that process comments and produce valid XHTML Strict code? I…
I have stores this object in an variable called results. How would i access the profile_image_url for example.
Here is the return value with print_r:
stdClass Object ( [results] => Array ( [0] => stdClass Object (…
I have used this code for extracting urls from web page.But in the line of 'foreach' it is showing
Object reference not set to an instance of an object
exception. What is the problem? how can i correct that?
…
Hi there.
I am now trying to implement a simple HTML webpage scraper using Java.Now I have a small problem.
Suppose I have the following HTML fragment.
<div id="sr-h-left" class="sr-comp">
<a…
Hi, I'm trying to add a JS fly to basket plugin to the site I'm working on, but the plugin needs unique productID numbers, is there a way to iterate this in Smarty when not in a foreach loop? Something…
I have used this code for extracting urls from web page.But in the line of 'foreach' it is showing
Object reference not set to an instance of an object
exception. What is the problem? how can i…
Hi, I have this code which I am trying to change the ID of on.hover.
<span id="slidingProd">
<a href="{link controller=order action=addToCart id=$product.ID returnPath=true}"…
I have this project which stores product details from amazon into the database.
Just to give you an idea on how big it is:
[{"title":"Genetic Engineering (Opposing…
This weekend I have been in Sydney at the MS Web Camp, learning about web application development. At the end of the first day we came up with application ideas and…
I have an ecommerce website which is not doing so well in Google. I am trying to improve this of course, and am looking at some possibilities for why it isn't doing…
I have a CloudFront distribution set up with an Nginx server as the origin (a Media Temple DV server, to be specific). I enabled the Access-Control-Allow-Origin: *…