I am lost in the game of SEO. One or two of my site rank for keywords which i dont want to. I have searched forums and do research but could not found any authentic answer. I need some expert's advice, How do i Rank for specific keyword and what factor is more important in ranking ( On page Or Off page ). For E.g: I want to rank for a phrase "My favorite Hobby" which competitor( rank 1 of google search ) has keywords title,meta tags ( meta description and meta keywords), keywords in headings ( h1 tags ) …

Member Avatar
Member Avatar
+0 forum 9

Hi All. I was searching it for many weeks I am working on Magento Store, i have 2 domain on same website/same directory i want to show different logo on each domain. In header file, logo is shown by this code <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1> <?php else:?> <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a> <?php endif?> i found 1 year old topic here …

Member Avatar
Member Avatar
+0 forum 8

Hi I was searching it for many weeks I am working on Magento Store, i have 2 domains i want to show different logo on each domain. In header file, logo is shown by this code <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1> <?php else:?> <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a> <?php endif?> i found 1 year old topic here http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/429391/change-logo-image-based-on-domain# I dont know how …

Member Avatar
Member Avatar
+0 forum 1

I have this code: private void words(string path) { List<string> text = new List<string>(); var intro = "Video File Name:"; var words = File.ReadAllLines(path) .Where(line => line.StartsWith(intro)) .Select(line => line.Substring(intro.Length).Trim()); } When i use a breakpoint and look after all on the variable words i see: System.Linq.Enumerable.WhereSelectArrayIterator<string,string> I want to loop somehow on words and use each word how can i do it ? The variable path is a text file that its content format is like this: Video File Name: MVI_4523.MOV Lightning Start Location At Frame: 11 Lightning End Location At Frame: 15 Lightning Start Location At Frame: 6 …

Member Avatar
Member Avatar
+0 forum 1

WHERE Category = '" + CategorySorter.Text + "' AND DateAdded = '" + DateValue("DateEnd.Text") + "' " thats my query and its not working, if the user input a date(like this 12/25/12) in DateEnd.Text, i want to confirm if it is existing on a database

Member Avatar
Member Avatar
+0 forum 10

Hi there! I am new to daniweb.com and C++ CLI. I am trying to make a program that will tell the user the text for the ListItem number they type in. The ListItem information is stored in a text file with my custom file formatting, which is: <~ListItem 1> text.... <~EndOf 1> <~ListItem 2> text.... <~EndOf 2> etc. I have been thinking of a strategy for days, but I can't find out anything. Thank you very much in advanced!

Member Avatar
Member Avatar
+0 forum 3

#include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char entered_characters[9999]; int direction_of_rotor1; int direction_of_rotor2; char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; char rotor1_backward(char Letter); char rotor1_forward(char Letter); char rotor2_backward(char Letter2); char rotor2_forward(char Letter2); char print(char print_char); int main() { cout << "This is enigma machine:" << endl; cout << "*NOTE:This programe accepts only lower case letters" << endl; cout<<"--------------------------------------------------------------"<<endl; cout << "Enter letters for the first rotor:" << endl; cin >> alphabet_of_rotor1; cout<<"--------------------------------------------------------------"<<endl; cout << "Enter letters for the second rotor:" << endl; cin >> alphabet_of_rotor2; cout<<"--------------------------------------------------------------"<<endl; cout << "Chose direction of rotor 1:" << endl; cout << "*(i.e.:enter 1 …

Member Avatar
Member Avatar
+0 forum 2

I have this qoute.. how am i going to refresh only the php out;.. which generally generate xml.. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps JavaScript API v3 Example: Common Loader</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="util.js"></script> <script type="text/javascript"> var infowindow; var map; function initialize() { var myLatlng = new google.maps.LatLng(0, 0); var myOptions = { zoom: 10, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); downloadUrl("phpsqlajax_genxml3.php", function(data) { var markers = data.documentElement.getElementsByTagName("marker"); for (var i = 0; i < markers.length; i++) { var latlng = new google.maps.LatLng(parseFloat(markers[i].getAttribute("lat")), parseFloat(markers[i].getAttribute("lng"))); var marker = …

Member Avatar
+0 forum 0

I new with database and java.I want to show result of the table WHERE USER = USER LOGIN NAME private void query() { try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@andy-lcoyx7gfw:1521:orcl", "andy", "andy"); String sql = "select * from schedules where (userName = @User) "; //'{$_SESSION['username']}' Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery(sql); ResultSetMetaData md = rs.getMetaData(); int columns = md.getColumnCount(); for (int i = 1; i <= columns; i++) { columnNames.addElement(md.getColumnName(i)); } while (rs.next()) { Vector row = new Vector(columns); for (int i = 1; i <= columns; i++) { row.addElement(rs.getObject(i)); } data.addElement(row); } rs.close(); stmt.close(); } catch (Exception …

Member Avatar
Member Avatar
+0 forum 4

I know how to search a text file for a specific line, but what I don't know is then how to delete that line? Can anyone help? My text file is set up as such: 021,Donovan,56 Eynesford Crescent,Bexley,SE5 1TR,09/08/1967,13 March 2012,Bronze 062,Fredrikson,6 Freil Road,Gravesend,GR9 TRB,12/06/1995,13 March 2012,Silver So I know how to search for the 3 character integer at the beginning of each line, but how do I then delete this line? I'm currently using this code [CODE] Imports System.IO Public Class Form6 Private Sub SearchBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SearchBtn.Click Dim WholeFile() As String = …

Member Avatar
Member Avatar
+0 forum 3

Hello guys, I've newly joined this forum since I want to enhance my knowledge in Programming specially in Visual Basic. So for the important part, right now I'm planning on creating a word detector somehow and there are specific rules I was to set in the textbox in relation with the button. Let's say I wanna set an IF Statement for the text to have 32 characters and letters "abcdefg" and numbers "12345" so that it'll execute a message box when I press the button. Here's a code example of what I'm saying [code]Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar
Member Avatar
+0 forum 2

I'm wondering, is there any way to create a tooltip so that the hovering information always appears in a specific region for all links. I have a vertical navigation menu and I want link information to appear beneath the entire menu.

Member Avatar
+0 forum 0

Hi I'm really struggling in finding an answer to my problem How do I read a folder and then I want to find a file inside that folder read with specific extensions like .obj or .bmp and to do things to those files with those extensions here is my attempt [CODE]require "lfs" input = io.open("test.txt","w") for dir_elem in lfs.dir("test folder") do local target = "test folder" .. "/" .. dir_elem if lfs.attributes(target).mode == "file" then if #dir_elem > 4 and dir_elem:sub(#dir_elem-3, #dir_elem) == ".obj" then local file = io.open(target, "r") --searches match for v character for match in file:lines("v") do …

Member Avatar
Member Avatar
+0 forum 11

Hello I'm trying to create a cross platform application to control a robot. Everything went relatively easy but I got stuck when trying to set a few properties that are Mac specific. They use the 'com.apple.eawt' package which obviously isn't available on Linux or Windows. I need to set the program to use the system menu bar and the dock icon and some handlers. I know how to do this but I don't know how to tell Linux to skip the part that is Mac specific. I can check the operating system at runtime but the code won't compile on …

Member Avatar
Member Avatar
+0 forum 5

Okay ive been looking everywhere and I can't find this. Ive used the help documents and tried to use the Shell function and also Process.Start. So say I have a file at relative path /Data/manual.pdf (i know how to get directory of application to create absolute path). But I need to open this file with an .exe located at /Data/reader.exe How would I do this? Cheers, Jordan

Member Avatar
Member Avatar
-1 forum 2

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder folder with a page here: [CODE]www.domain.com/staff/cdir/templates/county/index.php[/CODE] I am guessing I would have to run a script inside the branch_finder directory to identify each county page and replace it? How would I go about doing this? Thanks in advance. Max.

Member Avatar
Member Avatar
+0 forum 12

The End.