Webmaster Forum


Go Back   Webmaster Forum > Marketing Forums > Web Directory Issues
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Directory Issues Yahoo!, DMOZ, LookSmart, ETC.

Ezilon Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-07-2006, 05:42 AM   #1 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
Exclamation Yahoo & DMOZ expired domain names

Hi,
can any one tell me how can i get yahoo & DMOZ expireddomain names(it will be very good if you suggets me any PHP or CGI script for that).

ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-07-2006, 09:18 AM   #2 (permalink)
Inactive
 
Join Date: 05-05-06
Posts: 99
iTrader: 0 / 0%
Latest Blog:
None

PaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the roughPaulX is a jewel in the rough
Sorry, but the DMOZ domains are not expired.

And now for what you probably wanted to ask "is there a possibility to find domains listed in the Yahoo and DMOZ directories that are expired?"
Ask yourself this question "if there is a possibility to find such domains wouldn't Yahoo and DMOZ use it themself to find expired or expiring domains to remove them from their directory"
PaulX is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-07-2006, 10:28 AM   #3 (permalink)
v7n Mentor
 
kiviniar's Avatar
 
Join Date: 06-23-06
Location: http://www.sutradirectory.com/
Posts: 929
iTrader: 0 / 0%
kiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nicekiviniar is just really nice
you can buy a software - aprox 130 $ USD

I think i know of one ;-)
__________________

Directory Owners Forum >>> http://info.vilesilencer.com/forum/ The Best There Is
kiviniar is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-08-2006, 12:01 AM   #4 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
thanx
but there will be any PHP or CGI script to find out the entries from Yahoo and DMOZ ????
ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-09-2006, 02:22 PM   #5 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
Quote:
Originally Posted by ayajshaikh
thanx
but there will be any PHP or CGI script to find out the entries from Yahoo and DMOZ ????
I remember seeing a script for this, but it was horrible and was never correct..
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-09-2006, 10:17 PM   #6 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
I got the Shell Script but it uses "whois" i want PHP or CGI

thanx for all replies friends,
i got the Shell script by which 1 can get expiry date of the domain using "whois" I have tested it and it is good; but i want to search in Yahoo and DMOZ for the same purpose will it help me?
Do any 1 know about this?

The Script Goes Like this::

#!/bin/bash
#
# Program: Domain Expiration Check <domain-check>
#
# Author: John Reeves, based on the source code by
# Matty < matty at prefetch dot net >
#
# Current Version: 2.0
#
# Revision History:
# Version 2.0
# Updated Matty's source to allow checks to all additional domain types
#
# Version 1.3
# Gracefully Handle the case where the expiration data is unavailable
#
# Version 1.2
# Added "-s" option to allow arbitrary registrars
#
# Version 1.1# Fixed issue with 'e' getopt string -- Pedro Alves
#
# Version 1.0
# Initial Release
#
# Last Updated: 31-07-2006
#
# Purpose:
# domain-check checks to see if a domain has expired. domain-check
# can be run in interactive and batch mode, and provides faciltities
# to alarm if a domain is about to expire.
#
# License:
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# Requirements:
# Requires whois
#
# Installation:
# Copy the shell script to a suitable location
#
# Tested platforms:
# -- Centos 4 using /bin/bash
# -- Solaris 9 using /bin/bash
# -- Solaris 10 using /bin/bash
# -- OS X 10.4.2 using /bin/sh
# -- OpenBSD using /bin/sh
# -- FreeBSD using /bin/sh
# -- Redhat advanced server 3.0MU3 using /bin/sh
#
# Usage:
# Refer to the usage() sub-routine, or invoke domain-check
# with the "-h" option.
#
# Example:
#
# The first example will print the expiration date and registrar for prefetch.net:
#
# $ domain-check.sh -d prefetch.net
#
# Domain Status Expires Days Left
# ----------------------------------- -------- ----------- ---------
# prefetch.net Valid 13-feb-2006 64
#
# The second example prints the expiration date and registrar for the domains
# listed in the file "domains":
#
# $ domain-check.sh -f domains
#
# Domain Status Expires Days Left
# ----------------------------------- -------- ----------- ---------
# sun.com Valid 20-mar-2010 1560
# google.com Valid 14-sep-2011 2103
# ack.com Valid 09-may-2008 880
# prefetch.net Valid 13-feb-2006 64
# spotch.com Valid 03-dec-2006 357
#
# The third example will e-mail the address admin@prefetch.net with the domains that
# will expire in 60-days or less:
#
# $ domain-check -a -f domains -q -x 60 -e admin@prefetch.net
#

PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/sfw/bin ; export PATH

# Who to page when an expired domain is detected (cmdline: -e)
ADMIN="notify@me.please"

# Number of days in the warning threshhold (cmdline: -x)
WARNDAYS=30

# If QUIET is set to TRUE, don't print anything on the console (cmdline: -q)
QUIET="FALSE"

# Don't send emails by default (cmdline: -a)
ALARM="FALSE"


# Location of system binaries
AWK="/bin/awk"
WHOIS="/usr/bin/whois"
DATE="/bin/date"
MAIL="/usr/sbin/sendmail"

# Place to stash temporary files
WHOIS_TMP="/var/tmp/whois.$$"

################################################## ###########################
# Purpose: Convert a date from MONTH-DAY-YEAR to Julian format
# Acknowledgements: Code was adapted from examples in the book
# "Shell Scripting Recipes: A Problem-Solution Approach"
# ( ISBN 1590594711 )
# Arguments:
# $1 -> Month (e.g., 06)
# $2 -> Day (e.g., 0
# $3 -> Year (e.g., 2006)
################################################## ###########################
date2julian()
{
if [ "${1} != "" ] && [ "${2} != "" ] && [ "${3}" != "" ]
then
## Since leap years add aday at the end of February,
## calculations are done from 1 March 0000 (a fictional year)
d2j_tmpmonth=$((12 * ${3} + ${1} - 3))

## If it is not yet March, the year is changed to the previous year
d2j_tmpyear=$(( ${d2j_tmpmonth} / 12))

## The number of days from 1 March 0000 is calculated
## and the number of days from 1 Jan. 4713BC is added
echo $(( (734 * ${d2j_tmpmonth} + 15) / 24 - 2 * ${d2j_tmpyear} + ${d2j_tmpyear}/4
- ${d2j_tmpyear}/100 + ${d2j_tmpyear}/400 + $2 + 1721119 ))
else
echo 0
fi
}

################################################## ###########################
# Purpose: Convert a string month into an integer representation
# Arguments:
# $1 -> Month name (e.g., Sep)
################################################## ###########################
getmonth()
{
LOWER=`tolower $1`

case ${LOWER} in
jan) echo 1 ;;
feb) echo 2 ;;
mar) echo 3 ;;
apr) echo 4 ;;
may) echo 5 ;;
jun) echo 6 ;;
jul) echo 7 ;;
aug) echo 8 ;;
sep) echo 9 ;;
oct) echo 10 ;;
nov) echo 11 ;;
dec) echo 12 ;;
*) echo 0 ;;
esac
}

################################################## ###########################
# Purpose: Calculate the number of seconds between two dates
# Arguments:
# $1 -> Date #1
# $2 -> Date #2
################################################## ###########################
date_diff()
{
if [ "${1}" != "" ] && [ "${2}" != "" ]
then
echo $(expr ${2} - ${1})
else
echo 0
fi
}

################################################## ################
# Purpose: Converts a string to lower case
# Arguments:
# $1 -> String to convert to lower case
################################################## ################
tolower()
{
LOWER=`echo ${1} | tr [A-Z] [a-z]`
echo $LOWER
}

################################################## ################
# Purpose: Access whois data to grab the registrar and expiration date
# Arguments:
# $1 -> Domain to check
################################################## ################

check_domain_status()
{
# Save the domain since set will trip up the ordering
DOMAIN=${1}
DOMAINDATE="0"

# Invoke whois to find the domain registrar and expiration date

if BOB=`echo ${DOMAIN} | grep '.co.uk'`
then
WHOIS_SERVER="whois.nic.uk"
${WHOIS} -h ${WHOIS_SERVER} "${1}" > ${WHOIS_TMP}
DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Renewal/ { print $NF }' | tr -d '[:cntrl:]'`
fi

if BOB=`echo ${DOMAIN} | grep .biz`
then
WHOIS_SERVER="whois.neulevel.biz"
${WHOIS} -h ${WHOIS_SERVER} "${1}" > ${WHOIS_TMP}
DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Domain Expiration Date:/ { print $6 "-" $5 "-" $9 }'`
#echo "Domain Date is: ${DOMAINDATE}"
fi

if BOB=`echo ${DOMAIN} | grep .info`
then
WHOIS_SERVER="whois.afilias.com"
${WHOIS} -h ${WHOIS_SERVER} "${1}" > ${WHOIS_TMP}
DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Expiration Date:/ { print $2 }' | sed 's/Date://'`
#echo "Domain Date is ${DOMAINDATE}"
fi

if BOB=`echo ${DOMAIN} | grep '.com\|.net'`
then
WHOIS_SERVER="whois.internic.org"
${WHOIS} -h ${WHOIS_SERVER} "=${1}" > ${WHOIS_TMP}
DOMAINDATE=`cat ${WHOIS_TMP} | ${AWK} '/Expiration/ { print $NF }'`
fi

if BOB=`echo ${DOMAIN} | grep '.org'`
then
WHOIS_SERVER="whois.pir.org"
${WHOIS} -h ${WHOIS_SERVER} "${1}" > ${WHOIS_TMP}
DOMAINDATE=`cat ${WHOIS_TMP} | grep 'Expiration Date:' | sed 's/Expiration Date://' | gawk '{print $1}'`
#echo "domain date - $DOMAINDATE"
fi


# extract the month
IFS="-"
set -- ${DOMAINDATE}
MONTH=$(getmonth ${2})
IFS=""

# Remove any billybullshit from the date.
YEAR=`echo ${3} | tr -cs 'a-zA-Z0-9' '[\n*]'`
DAY=${1#0}

# Convert the date to seconds, and get the diff between NOW and the expiration date
DOMAINJULIAN=$(date2julian ${MONTH} ${DAY} ${YEAR})
DOMAINDIFF=$(date_diff ${NOWJULIAN} ${DOMAINJULIAN})

if [ ${DOMAINDIFF} -lt 0 ]
then
if [ "${ALARM}" = "TRUE" ]
then
echo -e "Subjectomain Watcher\nFrom:noc@cciops.net <noc@cciops.net>\nTo: ${ADMIN}\nThe domain ${DOMAIN} has expired!\n" \
| ${MAIL} ${ADMIN}
fi

prints ${DOMAIN} "Expired" "${DOMAINDATE}" "${DOMAINDIFF}"

elif [ ${DOMAINDIFF} -lt ${WARNDAYS} ]
then
if [ "${ALARM}" = "TRUE" ]
then
echo -e "Subjectomain Watcher\nFrom:noc@cciops.net <noc@cciops.net>\nTo: ${ADMIN}\nThe domain ${DOMAIN} will expire in ${DOMAINDIFF} days.\n" \
| ${MAIL} ${ADMIN}
fi
prints ${DOMAIN} "Expiring" "${DOMAINDATE}" "${DOMAINDIFF}"
else
prints ${DOMAIN} "Valid" "${DOMAINDATE}" "${DOMAINDIFF}"
fi
}

################################################## ##
# Purpose: Print a heading with the relevant columns
# Arguments:
# None
################################################## ##
print_heading()
{
if [ "${QUIET}" != "TRUE" ]
then
printf "\n%-35s %-8s %-11s %-5s\n" "Domain" "Status" "Expires" "Days Left"
echo "----------------------------------- -------- ----------- ---------"
fi
}

################################################## ###################
# Purpose: Print a line with the expiraton interval
# Arguments:
# $1 -> Domain
# $2 -> Status of domain (e.g., expired or valid)
# $3 -> Date when domain will expire
# $4 -> Days left until the domain will expire
# $5 -> Domain registrar
################################################## ###################
prints()
{
if [ "${QUIET}" != "TRUE" ]
then
MIN_DATE=$(echo $3 | ${AWK} '{ print $1, $2, $4 }')
printf "%-35s %-8s %-11s %-5s\n" "$1" "$2" "$MIN_DATE" "$4"
fi
}

##########################################
# Purpose: Describe how the script works
# Arguments:
# None
##########################################
usage()
{
echo "Usage: $0 [ -e email ] [ -x expir_days ] [ -q ] [ -a ] [ -h ]"
echo " {[ -d domain_namee ]} || { -f domainfile}"
echo ""
echo " -a : Send a warning message through email "
echo " -d domain : Domain to analyze (interactive mode)"
echo " -e email address : Email address to send expiration notices"
echo " -f domain file : File with a list of domains"
echo " -h : Print this screen"
echo " -s whois server : Whois sever to query for information"
echo " -q : Don't print anything on the console"
echo " -x days : Domain expiration interval (eg. if domain_date < days)"
echo ""
}

### Evaluate the options passed on the command line
while getopts ae:f:hd:s:qx: option
do
case "${option}"
in
a) ALARM="TRUE";;
e) ADMIN=${OPTARG};;
d) DOMAIN=${OPTARG};;
f) SERVERFILE=$OPTARG;;
s) WHOIS_SERVER=$OPTARG;;
q) QUIET="TRUE";;
x) WARNDAYS=$OPTARG;;
\?) usage
exit 1;;
esac
done

### Check to see if the whois binary exists
if [ ! -f ${WHOIS} ]
then
echo "ERROR: The whois binary does not exist in ${WHOIS} ."
echo " FIX: Please modify the \$WHOIS variable in the program header."
exit 1
fi

### Check to make sure a date utility is available
if [ ! -f ${DATE} ]
then
echo "ERROR: The date binary does not exist in ${DATE} ."
echo " FIX: Please modify the \$DATE variable in the program header."
exit 1
fi

### Baseline the dates so we have something to compare to
MONTH=$(${DATE} "+%m")
DAY=$(${DATE} "+%d")
YEAR=$(${DATE} "+%Y")
NOWJULIAN=$(date2julian ${MONTH#0} ${DAY#0} ${YEAR})

### Touch the files prior to using them
touch ${WHOIS_TMP}

### If a HOST and PORT were passed on the cmdline, use those values
if [ "${DOMAIN}" != "" ]
then
print_heading
check_domain_status "${DOMAIN}"
### If a file and a "-a" are passed on the command line, check all
### of the domains in the file to see if they are about to expire
elif [ -f "${SERVERFILE}" ]
then
print_heading
while read DOMAIN
do
check_domain_status "${DOMAIN}"

done < ${SERVERFILE}

### There was an error, so print a detailed usage message and exit
else
usage
exit 1
fi

# Add an extra newline
echo

### Remove the temporary files
rm -f ${WHOIS_TMP}

### Exit with a success indicator
exit 0
ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-09-2006, 10:52 PM   #7 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
where exactly did you get that from?
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-09-2006, 10:58 PM   #8 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
Shell Script

Hi Sixty6,
i got this from: http://prefetch.net/code/domain-check.html
ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-10-2006, 11:35 AM   #9 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
Quote:
Originally Posted by ayajshaikh
Hi Sixty6,
i got this from: http://prefetch.net/code/domain-check.html
Thanks for the link, I guess I'll check it out tonight if I have the time..
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-20-2006, 02:34 AM   #10 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
Talking Hey I made it!!! jerry:

"All thanks to the god" who helped me to made a script that can search through YAHOO and DMOZ directories and can return the expiry date of the Domain( For this Thanks to "Whois" ) if any one wants to know how it works or want to contribute i m always here :
ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-20-2006, 02:35 AM   #11 (permalink)
Junior Member
 
ayajshaikh's Avatar
 
Join Date: 08-07-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

ayajshaikh is liked by many
Send a message via AIM to ayajshaikh Send a message via Yahoo to ayajshaikh
Talking Hey I made it!!!

Ha Ha Ha
ayajshaikh is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Marketing Forums > Web Directory Issues

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Expired domains Drops daily with valid PR, Listed in Dmoz/Yahoo and Dictioanary FPForum Domain Name Forum 1 07-25-2007 05:26 AM
Expired domain name minbak Domain Name Forum 7 08-16-2006 06:02 AM
Free Expired Domain Names Lists harris5998 Domain Name Forum 3 05-05-2006 04:14 PM
Finding Newly Expired Domain Names thebassman Domain Name Forum 8 04-18-2005 02:32 AM
expired domain but i can't buy it yet robpicken Web Hosting Forum 8 02-07-2004 05:58 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:14 AM.
© Copyright 2008 V7 Inc