1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Quick Help With Blogger and Javascript

Discussion in 'Making Money' started by luke82817, Jan 1, 2009.

  1. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    Hi, can any1 help me in putting the javascript into blogger?
    I put http://www.amateurmatch.com/?ainfo=M...nwyMjE=&skin=2 as the website to redirect to and I get the following error message, "Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The reference to entity "skin" must end with the ';' delimiter."

    When I remove the &skin part it redirects perfectly, but I tested it and without the 'skin' part amateur match wont pay me for each redirect.

    I know it's just a matter of adding a character or 2 so if any1 can help ill be happy :)
     
  2. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    why dont u put the redirect code in the html/javascript widget itself?
    use this code
    Code:
    <script language="javascript">
    document.location='http://www.amateurmatch.com/?ainfo=M...nwyMjE=&skin=2';
    </script>
     
  3. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    that's what I am trying to do :([​IMG]
     
  4. wakkaoaka

    wakkaoaka BANNED BANNED

    Joined:
    Sep 14, 2008
    Messages:
    1,113
    Likes Received:
    782
    Im a retarded coder, but surely u could just shrink or cloak the url so the word skin wont be there anymore, no more confusion! :D
     
  5. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    i agree with what wakka said
    i think the main problem is the word 'skin'
    so it would be better if u shrink the url
    then again i tried ur url with the word skin intact using the widget and it worked perfectly
     
  6. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    hmmm but I removed the skin part and i tried to sign up just to test it, and dating gold didn't count me as a referrer for that sign up..

    it worked for you? How!? Wtf am i doing wrong lol
     
  7. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    like i said use the html/javascript gadget
    edit layout-->page elements-->add gadget-->html/javascript
    put the code i mentioned above in 'content'
    leave 'title'field blank
    works 100%
     
    • Thanks Thanks x 2
  8. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    Thank you! Sorry, I am a blogger newb lol. I thought I knew wat u meant by widget, but I guess not lol
     
  9. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    lol dont mention it
     
  10. safaristyle

    safaristyle Regular Member

    Joined:
    May 4, 2008
    Messages:
    449
    Likes Received:
    82
    Location:
    Blocked
    Blogger is very easy to use...just play with it.. You can earn a lot of money by using it..Don't use blogger for meta refresh ..they will send you spam blog notice
     
  11. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    when they send me spam notice can't I just ignore it or make a new blog? What do you recommend instead?
     
  12. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    if they send u a spam notice, ur blog will get locked until they review it and u wont be able to make any changes in ur blog
    the moment they find out ur using redirects, Blam! there goes ur blog! deleted for good!
     
  13. jammie

    jammie Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    453
    *SIGH*

    XML Parser. Can't handle <, > or &.

    replace "&" by "&" without quotes and you'll be fine ... i think
     
  14. luke82817

    luke82817 Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    249
    Likes Received:
    63
    Occupation:
    musician/internet moneymaking man
    Location:
    Canada
    Fuck then! Do you have any suggestions for redirecting for a newb then? lol
     
  15. wakkaoaka

    wakkaoaka BANNED BANNED

    Joined:
    Sep 14, 2008
    Messages:
    1,113
    Likes Received:
    782
    I just buy domains, .coms are the best cos ppl trust em, but infos work well too. It's well worth the few bucks. look at acaiberrypowernz.com thats mine :) (the nz is for New Zealand)
     
  16. abbygirl

    abbygirl BANNED BANNED

    Joined:
    Mar 13, 2008
    Messages:
    100
    Likes Received:
    662
    when i use this script, will my blog deleted? plz confirm 'coz' earlier i used this script directly in the "edit html" i pasted this script in the top, and worked fine but within few hours, the blog has been deleted.

    And know i came to know that we can use this script in the gadget section.. & here also works fine, is it safe ?

    thanks in advance
     
  17. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    using it anywhere has going to have the same effect
    if its detected then ur blog's gonna be deleted
     
  18. abbygirl

    abbygirl BANNED BANNED

    Joined:
    Mar 13, 2008
    Messages:
    100
    Likes Received:
    662
    Blooger sure detects the anywhere which redirects the url & hence deleted, then what's the use of using this script in the blog.... I mean where & when to use this script in blog.