Adding Google Adsense to iweb pages

In a previous posting, I was told that I could add the adsense code into my iweb website. I publish via .mac and cannot locate where the html is on my mac in order to add the code I need...anyone who can walk me through that would be a real angel!
Dave

flyfisher...
I'll give you an example of how to locate the page.html file for you to edit. Then I'll give you general directions on how to add the HTML code that you get from Google...
Example...
You have a page called "Widgets" as part of a site called "MySite" that you have made in iWeb. Then you publish it to .Mac. iWeb actually has copied all of your site files to your iDisk for you. To get at them, follow these steps...
1. Mount your iDisk to your desktop. (Look under the Go Menu>iDisk>My iDisk)
2. Double click on the iDisk icon that appears on your desktop
3. Look for a folder called "Web". Click to open.
4. You should see a folder in that called "Sites". Click to open.
5. You should see a folder in that called "iWeb". Click to open.
6. Now you should see a folder calle "MySite" (or whatever you named your site in iWeb). Click to open.
7. Find the file called "Widgets.html" (or whatever your page is named in iWeb with the .html suffix)
This is the file that you must open up in TextEdit in order to edit the HTML. Before you open the file, though, make sure that you have changed the TextEdit "Open and Save" preferences to ignore rich text format. Then open the .html file. You should see all of your code there for this particular page.
Here are directions for adding the code...
1. Decide where you want your banner and know exactly what dimensions you need.
2. Insert a text box onto your page and adjust its size to exactly your dimensions.
3. Type in some uniquely identifiable text like, "BANNERCODEHERE" without changing the font or anything else...just type it in.
4. Publish your page with iWeb.
5. Find the html file associated with your published page (either on your iDisk or in a folder depending on how you published) and open it in any text editor (like Microsoft Word, or Textedit, or anything).
6. Scroll through the html file and locate your placeholder text, e.g. "BANNERCODEHERE".
7. Replace the placeholder text with your html code and save your page. (Not save as...just save)
That's it. You should see your adsense ad banner show up where you placed the text box in iWeb.
Because iWeb republishes the html files whenever you update the your webpage, you will lose your changes and have to redo them to add your banners back everytime your page is published over.
I hope this helps.

Similar Messages

  • Having serious problems with Google Adsense and iWeb

    Ok, I'm totally ignorant when it comes to web work. I can direct friggin' movies but this web stuff, forget it.
    However, I am playing around with a video podcast and would like to try and do the website myself. But I can't seem to have any luck setting up Google's adsense on the site. I've followed the steps in the following link...
    http://discussions.apple.com/thread.jspa?threadID=399399&tstart=0
    ...and the results are not good.
    One thing, since I'm no longer using my .mac account to host (can't use ads on there?) I am hosting the site through powweb. I don't know if that has anything to do with why it's acting like this.
    My web address is offthestriplv.com. If anyone could check out the site and shed a little light on why it's so messed up, I'd greatly appreciate it.
    Thanks for your time everybody.

    wolfwill23
    There are several problems. The code is showing, and also the positioning is off.
    To exactly position where you want the ad to go, you need to position the text box of the exact same dimensions as the completed ad (or slightly larger to be on the safe side) exactly where you want it on the page.
    Then type some text in the box. When you've published, you need to replace the text you've typed with the code. You obviously managed it once with the centre strip of google ads, but the top and bottom ones, it seems you've just pasted the code into the iWeb page. You can't just paste code into an iWeb page, only after publishing.
    Another reason for the code showing is that you've not replaced the text properly and missed out some tags, so when the browser comes to render the page, it's treating it like text.
    Hope that helps
    Michael
    Quicksilver G4 Dual 1GHz   Mac OS X (10.4.5)   http://www.rowan-cottage.co.uk

  • Adding Java to a iWeb page

    I am looking into getting an iWeb account and such to create a webpage for a business I am starting. I would be creating virtual tours that would export into Java where the viewer would be able to look into a home by clicking and dragging the pictures to move through the home, and then clicking links in the Java to move to another room in the home.
    What I want to know is: Is there a way to add Java to an iWeb page? I have seen that movies and photo albums I create can be added, but what about Java?
    Any help on this would be great! THANKS!

    If you want to do this, then don't get an MMe account. Use an external host/server that does support java and php. If it is a business site too, it will be more worthwhile, as you get a better service - quicker upload and generally more for your money than MMe can offer. MMe was not designed for business use really, but for ease of personal use with one click publishing.

  • Adding audio to an iweb page

    Can anyone help me by telling me how to add audio to an iweb page? I've got audio files, recordings on my computer and want to be able to publish them so others can listen.
    Thanks for your help!

    There are other ways to add audio to a web page. There are jukeboxes where you can list multiple tracks for playing. This demo page has some examples of flash audio players: Audio Players. Other audio options are here: More Audio.
    For jukeboxes see this page in Roddy's iWeb for Musicians site: Music Players.
    OT

  • Inserting Google map into iweb page

    Hello
    I have just bought iWeb 2, and used it to start a website at http://web.mac.com/peterdewit/toymaker/Home.html. (it comes up if you leave the end bit off!)
    I followed what seemed to be incredibly simple instructions to create a Google map. It looked so easy I thought it was too good to be true. Unfortunately that turned out to be the case!
    After more than one hour I gave up. A map of 1 Infinite Loop Cupertino California was determined to remain as the star attraction of my Location page. Even my wooden Royal Danish Life Guard and Grenadier Guards Drum Major couldn't remove it!
    Does anyone know what I am doing wrong?
    Any help gratefully accepted.
    toymaker1

    Here's a wild guess...
    Sometime ago, I read in this forum about somebody having problems with the default email address used by iWeb for the "email me" button. It seems to get this from your personal information in "Address Book" which you filled in when you first opened the application.
    If you didn't do this, it is probably still using the Apple Computer Inc. information.
    Try trashing the Apple entry and make sure your own "user" one is up to date with your correct address, email etc.
    I hope this helps - I DID say it was a wild guess!

  • Adding material to an iWeb page after it is published

    I have published a very simple two page web page on dotmac. There is a very short introduction and then about 15 photos. (Actually, the topic is about a 100th birthday) (The terminology of the web is confusing here: one web page can contain many pages. Is there a name for the subsequent 'pages' of a web page?)
    I wish to add some more photos, separately, on a completely unrelated topic to the original ones along with some additional text. I wish the new photos to be separate from the first photos and the additional text to be separate also.
    I do not see how to do this and any advice would be most welcome.
    David Amies

    (The terminology of the web is confusing here: one web page can contain
    many pages. Is there a name for the subsequent 'pages' of a web page?)
    David,
    The appropriate terminolgy is that a 'site' can be made up of several 'pages'. In iWeb this distinction is indicated in the Site Organizer by the fact that Site names are in bold type and have a globe icon beside them. The pages within sites are indented. The icon in this case looks like a page with the top corner turned down.
    I wish the new photos to be separate from the first photos
    and the additional text to be separate also.
    It would help if you could provide the address of your site. Judging from what you describe, though, I would suggest that you repeat what you've already done with your first photo page. Use the + button at the bottom left of the iWeb window, select the Photos page from your preferred template, replace the placeholder text with your own, drag in your photos to replace the placeholder ones, and re-publish.
    [ Visit here for iWeb Tips, Tricks and Hacks ]

  • Google map in iweb page

    suddenly the map has disappeared and an advert for mobilme has appeared ..... even when trying in iweb to put it back before uploading, it doesn t come back.
    anyone seen anything like it and any way to correct it?
    Mark

    exactly the same problem here. I have just deleted my map for now. Judging by all the other topics we have got off lightly - something major has gone wrong at macs end but they haven't bothered to tell anyone. despite the fact that we all visit the mac homepage, get rss news feeds etc.........
    Come on mac treat your loyal customers with the respect they deserve and tell us what is going on

  • Google Analytics breaks iWeb blog comments

    Does anybody know a workaround for Google Analytics' breaking of iWeb blog comments? Apparently, from some posts I've read, StatCounter and other traffic stat services break iWeb blog comments, too... so it's apparently an iWeb issue rather than a Google Analytics issue. FWIW, I'm publishing to my MobileMe personal domain. Thanks in advance!

    I found a decent way of adding Google Analytics to all pages, without using HTML Snippits (which cause analytics to track those odd page names like widget2_markup.html), that doesn't break MobileMe comments, and doesn't require any post-processing of your iWeb site. Just Publish and go! Open up your iWeb app bundle, and drill down to Contents/Resources/Scripts/Site. Open up the file iWebSite.js in TextEdit (or your favorite text editor), and paste the following at the bottom of the file:
    // Begin Google Analytics
    gaTrackerId = 'ss-ddddddd-d'; // insert your tracker id here
    document.observe('dom:loaded', function() {
    var gaJsHost = ( ('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.') + 'google-analytics.com/ga.js';
    var script = new Element('script', { 'src': gaJsHost});
    var gaTrack = function() {
    if (
    !script.readyState
    || /loaded|complete/.test(script.readyState)
    var pageTracker = gat.getTracker(gaTrackerId);
    pageTracker._trackPageview();
    script.observe('load', gaTrack);
    script.observe('readystatechange', gaTrack);
    document.body.appendChild(script);
    // End Google Analytics
    Credit to this solution goes to this blog post. I got the idea to find a way of using Google Analytics in Prototype (since iWeb sites use the Prototype JavaScript framework) and found that blog snippit.
    And yes, since this is editing the iWeb application bundle, you may need to reapply this hack if/when iWeb is updated. Hopefully though, some enterprising iWeb engineer is reading this and will add proper Google Analytics support to iWeb for us.

  • Google AdSense settings in iWEB site

    Hi all,
    I developed a site using iWeb and I added some AdSense box into it. I have to issue: the first one is that not all the AdSense boxes are avilable in iWeb and the secondo one, that is more important for me, is that If I add ad AdSense box from iWeb I can't manage it from adSense account. For example: if I would like to force the language to italian I can't do it. Are there some workaround to manage the AdSense ADV from AdSense account, like the ADV generated directly from AdSense? Many thanks if you can help me!

    What I've done on my page is put a mixture of the two:
    Adsense generated from iWeb, (top) and adsense
    that I created at Google Adsense and pasted the
    code into the html snippets. ( bottom)
    I control the html
    snippet ones at the Google Adsense page
    on my Google account, and the others
    simply change based upon what I post on the site or the blog.
    http://www.urbanmacuser.com

  • IWeb 09 and Google Adsense

    I have a six page website I created in Iweb 09 and I have a Google Adsense account as well. I cannot get the Widget to show up on any of the pages when I publish the pages locally or to my domain. Any suggestions or ideas?

    I am having the same issue. Mine WAS working but it stopped. Now I just get a blank black box!

  • HT1338 iWeb Google AdSense interfacing. Does it work without a .mac account?

    I'm trying to put in the Google AdSense on my web page but the program is not recognizing my account. Is this and other widgets not available simply because I am not paying for the .mac account?

    1. Do I charge people extra and buy them a .mac
    account so they have their own idisk even though they
    won't need the e-mail and other .mac features?
    I don't think this would be necessary...
    2. Can I create a website for them on iweb, buy a
    domain name for them through godaddy or somewhere,
    publish to a folder, and then upload to a separate
    hosting space...
    Yes. The best thing for you to do would be to get familiar with a program called "iWebSites" ( http://mistergregg.com/cocoadrillosoftware/ ). I'm sure you don't want your personal .Mac website to be mixed in with your client websites. In addition, you will appreciate the ability to be able to publish your various websites INDEPENDENTLY of one another, so that you only publish your personal site to your .Mac account and your client sites individually as needed. iWebSites helps you to create separate Domain files for iWeb so that each website can "live" in its own space and be edited and published separate from every other site.
    But yes, as far as your client websites go, prepare for a new site with iWebSites, design the site in iWeb, then "Publish to Folder" and then register and upload to the appropriate domain name server directory. I think this would be a slick way to run your business....full service, right?
    Let me know if you have any other questions.

  • Copy iweb page into google apps

    Hi,
    Is it possible to publish a web page created in iweb into my website which is within google apps.
    thanks

    Determine the width and height in pixels of your iWeb page.
    Divide by 72 to get the width and height in inches,
    To get centimeters, multiply the number in inches by 2,54.
    Create a custom page size in Page setup in Pages (Or any application).
    Use the numbers in inches or in centimeters.
    Add a blank page in Pages.
    Choose the newly created pagesize.
    Set the zooming of Pages to 100%.
    You now have a identical page size.
    Then copy paste all objects from iWeb to Pages.
    I do the reverse. I create a webpage in Pages and then copy/paste everything to iWeb.

  • IWEB google adsense widget tell's me i haven't a account, so i can't inplement my adsence code. But i do haven a account! What to do?

    Using Iweb! google adsense widget tell's me i haven't a account, so i can't inplement my adsence code. But i do haven a account! What to do?

    Yes well it will, because a lot of the widgets used in iWeb had information that was stored on the MobileMe servers and now MobileMe has gone, so has that info on the servers.
    All you'll need to do is go directly to Google and set up an account there yourself and then copy and paste the resultant code into an ordinary html snippet in iWeb and then click Apply and it should work again.
    There have also been lots of posts on this very same subject, so you should perhaps have searched this forum first before posting.

  • IWeb 3.01 Google Adsense

    Hi:
    I have an Adsense account but I get the ads, when I publish iWeb content it does with the google code needed.
    iWeb tells me I have correctly configured my Adsense account.
    In his day working, which is not that I could change or if I reset or delete the settings iWeb Adsense
    Regards and thanks
    P.D.
    You can see an example http://www.ugaitz.com if I put Adsense code html fragment is displayed as well.
    Message was edited by: laoApple

    I am having the same issue. Mine WAS working but it stopped. Now I just get a blank black box!

  • Please provide minute path to verify iWeb page already being published on 1und1 domain provider on google. Thank you.

    Please provide minute path to verify iWeb page already being published on 1und1 domain provider on google. Thank you.
    Bitte um specifischen Pfad um eine bereits bei 1und1 domain server bei google zu verifizieren. Vielen Dank

    Download the html file google provides and put it in the root of your webserver.
    Root is where you publish your webpages.
    It's the file at the right of your your domainname.
    Example:
    http://www.yourdomainname.com/index.html
    index.html is in the root.
    To verify your site and if the google file has a name like dfrrndfbfgn.html, you provide this url to google :
    http://www.yourdomainname.com/dfrrndfbfgn.html
    Practice. And note that iWeb is not part of it.

Maybe you are looking for

  • There was a problem downloading "APPNAME". err = -43

    This has been a long standing problem. Whenever I click to download updates, I get an additional download attempt that fails every time. It's only one app in question and I always have to clear the error then delete it from the quote and everything e

  • Load on XI

    Hi Experts, In my scenario ABAP client proxy to JDBC (Async), I will be getting 1,50,000 (1.5 records) and each record is having of size 1KB. Total ( Approximately )147MB of size of data has be input to XI. Could you please give answers to the below:

  • Using numberformatter Please help !!!

    Hi I want to use number formatter for following purpose. If number is 1 million then it should display as 1M if it 1thousand then it should display as 1K please help me what pattern i use for the number formatter Thanks Apratim

  • Need helpful purchase suggestions!

    Swamped with work, from home and need to get wife on her own bookkeeping computer. (I apologize I have no time to research on my own) 1 - I have a G5 (with no airport card, I'll have to get one) 2 - I want her to have a Mini 3 - Want the wireless con

  • Missing lens corrections in ACR

    I have an old version of CS5.  The lens corrections in ACR are missing.  How can I recover them?