Page 1 of 2 12 LastLast
Results 1 to 25 of 41
  1. #1
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Need a webmerge helper!
    I am trying to stick Paypal buttons into the page and I have what looks to me like it should work but the results are crazy.

    Who is really good with WM?

    HELP!!!!!!!!

    Will someone look at my template and a real short one page data feed?
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    What does "crazy" look like?

    If it's wrapping <a> tags around your <a> tags, it may be that all you need to do is use the nolink attribute in your tag. See the Help page on the WM-Field tag for details on that and other options.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    These are paypay buttons. They are forms. There are no anchors. I used raw nolink. I used this for each section of the code with a different letters for the field, of course.

    [/WM-Record] [WM-Record][WM-Field:AS raw nolink][/WM-Record]

    This is broken into fields in the feed so I can change things for each button and so that it won't be too long in each field and be truncated by Excel. It is supposed to put a number of similar buttons on each page. The spaces you see are where the tabs in the spread sheet are, not in my code.

    <p align="center"> <img SRC="http:/xxxxxxx.com/AGPICS/ RA22 .jpg alt=" Altar Cloths "> <br> <font face="Arial"><big><strong> Altar Tarot Cloth 22 Inches x 22 Inches White Silk </strong></big></font></p> <FORM action=https://www.paypal.com/cgi-bin/webscr method=post target=paypal> <INPUT type=image alt="Click to Order" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border=0 name=submit> <INPUT type=hidden value=1 name=add> <INPUT type=hidden value=_cart name=cmd> <INPUT type=hidden value=Admin@xxxxxxxxx.com name=business> <INPUT type=hidden value=" Altar Tarot Cloth 22 Inches x 22 Inches White Silk " name=item_name> <INPUT type=hidden value= RA22 ~SS name=item_number> <INPUT type=hidden value= $5.95 name=amount> <INPUT type=hidden value=http://xxxxxxx.com/store/confirm.html name=return> <INPUT type=hidden value=http://xxxxxxxxx.com/store/cancel.html name=cancel_return> <INPUT type=hidden value=1 name=no_note> <INPUT type=hidden value=USD name=currency_code> </FORM> </center> <hr>

    Can someone please tell me what to do with this?

    Please, do not refer me to the help pages. I need a real answer. Can anyone tell me how to make this code work with Webmerge?
    Last edited by SSanf; July 29th, 2005 at 12:32 AM.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  4. #4
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Why not put the form in an external file and use a php include() call in your template. Just have WM create .php files instead of .html. This is the best way to go if you have to use WM. Also helpful for headers and footers. If you have a promo function, you can even throw some dynamic promotions in these pages. Next step would be to eliminate the multiple files and start importing your datafeed to a database.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  5. #5
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    I do not know how to use PHP I just want it to write the code on the pages as I have entered it into the feed. That would make me quite happy. Do you know how to make it write the code on the pages as I have entered it into the feed?

    I did notice that when I put the exported file into Webmerge the place where it shows the name of the field has some of the quotation marks missing even though they are plainly in the feed itself.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  6. #6
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by SSanf
    I do not know how to use PHP I just want it to write the code on the pages as I have entered it into the feed. That would make me quite happy. Do you know how to make it write the code on the pages as I have entered it into the feed?
    Might as well start learning PHP now, it's one of the most valuable things you can learn to improve productivity and reduce maintenance. I don't understand why you would want to put all that code in your datafeed. Why not put the bulk of the code in a template and only fill in the parts like the price and product info.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  7. #7
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Might as well start learning PHP now, it's one of the most valuable things you can learn to improve productivity and reduce maintenance.
    Thank you for your insight but that is not the objective of my question and I really need help with this.

    I tried putting it in the template and then it wrote only one button with all the data in that single button.

    Thanks, anyway.

    DOES ANYONE KNOW HOW TO GET WEBMERGE TO INSERT THIS CODE AS WRITTEN??????
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  8. #8
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    I did notice that when I put the exported file into Webmerge the place where it shows the name of the field has some of the quotation marks missing even though they are plainly in the feed itself.
    Sounds like the feed file isn't being done right (sorry), either that or it's corrupted.

    A lot of formats will use quotes as part of the field seperation. It sounds like the feed is interpreting some of the quotes you want as field seperators instead of as part of the actual data.

    Try changing the delimiter, maybe that will help.
    Also make sure you've got the little checkbox (for whether the data is enclosed by quotes) set the right way. Since there's only two options on that, checked or unchecked, good ol' trial-and-error is speedy enough if you can't tell right off which way it should go...
    There is no knowledge that is not power. ~Hemingway

  9. #9
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Scott, I understand you have an ongoing agenda to help others learn PHP, and for those inclined to learn programming that's very helpful and much appreciated.

    But as someone who has posted comments repeatedly throughout ABW discouraging the use of WebMerge and other static generation tools while promoting your custom programming services, your participation in this WebMerge forum is especially interesting.

    Please understand that some people like WebMerge. The product provides a strong ROI for its users, and a good many of them report even having fun with it.

    Sure, there's a lot of things people could learn. I could make a good argument for also learning Perl and C in addition to MySQL, PHP, PHPMyAdmin, and the other things commonly needed to build truly dynamic sites. But some folks are more of a business manager than a programmer, they don't need dynamic sites, I don't feel there's anything wrong with that.

    Your promotion of PHP across ABW does me no harm and does those who use PHP a lot of good. But coming in here to tell folks to stop using WebMerge is, frankly, odd. I'm flattered that WebMerge so captivates you that you were compelled to visit our forum, but please understand that, as the original poster indicated, this forum is for helping WebMerge users.

    There are plenty of other forums on ABW for general database discussion. I look forward to any contributions you might have in this WebMerge forum for helping folks get the most out of WebMerge.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  10. #10
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    That is all well and good but can you help me with this?

    I have tried as Leader suggested. I thank her for being the only one, so far to even try to help. So far, no good.

    How about it can Webmerge even do this or not?
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  11. #11
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by SSanf
    DOES ANYONE KNOW HOW TO GET WEBMERGE TO INSERT THIS CODE AS WRITTEN??????
    It's done thousands of times every day by companies big and small using WebMerge, from ma and pa shops to MacWorld Magazine and the US Library of Congress. I'm sure we can get your setup running just as well.

    I think Leader may be on to something with the file format. v2.4 underwent extensive testing with its parsing, and not only is it now more than twice as fast it also does a more thorough job of handling many of the irregularities that make CSV formats notoriously inconsistent.

    If the problem consistently occurs on the same record, the likelihood that Leader's hunch is right is high. I would double-check that record in a raw text editor like WordPad, or try re-exporting from whatever software it originated in.

    Keep me posted with how that works out. If that doesn't solve it we can look into some other possibilities...
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  12. #12
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Richard,

    Sorry again to be such a pain. I'm just having a rough day today. In any event, you're definitely on the right track with a server based version of Webmerge. How is that coming along?

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  13. #13
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    What??? I know the code is right because when I copy one button from the file and paste it into an html page, it works. Therefore, I have checked the code in another enveironment.

    If I send you the template and just a couple of buttons will you look at it?

    I really need this.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  14. #14
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    SSanf,

    Why not display each parameter in your template without the Paypal form? Just to make sure the fields are being put into the template correctly. Then just add the form around them.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  15. #15
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Scott, you don't get it. I need to put thoudsands of buttons on hundreds of pages.

    I have over 5000 items to sell.

    And, I need to do this across 6 sites, all different. The old merchant is going dead midnight Sunday!!!!
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  16. #16
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by SSanf
    What??? I know the code is right because when I copy one button from the file and paste it into an html page, it works.

    If I send you the template and just a couple of buttons will you look at it?
    If the hunch Leader and I have is correct, the code in your template is probably fine. It appears at the moment that the issue may be in the source file.

    They key is to determine whether the problem occurs on the same record each time, and that other records are working well. If that's the case then it's very likely that record is misformatted.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  17. #17
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Please use words I can understand. I have no idea what misformatted means or what to do to correct any misformatting.

    I tried saving the data feed as tab delimnated text and then it only gave me 20 records and that didn't wwork.
    I use CVS files.

    I think my template is OK, too because once it gave me some of the code.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  18. #18
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Quote Originally Posted by Snib
    Sorry again to be such a pain. I'm just having a rough day today.
    No problem. I've known you to be occassionally gruff, but I've also known you to be reasonable.

    Quote Originally Posted by Snib
    In any event, you're definitely on the right track with a server based version of Webmerge. How is that coming along?
    I've been swamped here with a number of new custom development projects, so I just hired two more contractors to help out with the growing workload. One of these contractors is focusing on WebMerge Server Edition, so things are moving along better than ever.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  19. #19
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Richard, I sent you the template and 11 items I need added to it. Will you PLEASE see if it runs for you and if so tell me what settings to use?

    At this point, I need another set of eyes and since it is your program, no doubt, you will know right off what the problem is.

    I really need this to work.

    The delimiter for CVS is the first one, right? I unchecked the box for text values in quotes.

    I don't see what else there is to do.

    Thought I saw something....I didn't....

    I have used this template before with exactly the same kind of CVS file. The only thing different is adding the paypal buttons instead of regular links. I have used these same settings before.

    I just don't know. I have changed nothing except using the Paypal buttons.
    Last edited by SSanf; July 29th, 2005 at 02:08 AM.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  20. #20
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    In what program does the data originate? We have delimiter presets for most popular formats, including Excel CSV among others.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  21. #21
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    I just don't understand how since it has been working all along and all I did was add the paypal buttons how the whole page would be messed up like this and Webmerge doesn't write the code on the page that is in the feed.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  22. #22
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    The program is in excel cvs and is exactly the same as I have used for every other successful Webmerge created page I have made.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  23. #23
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    But, you hadn't tried to put paypal stuff in the csv before, right? The paypal stuff probably has a different format than the usual data.
    There is no knowledge that is not power. ~Hemingway

  24. #24
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Quote Originally Posted by Leader
    But, you hadn't tried to put paypal stuff in the csv before, right? The paypal stuff probably has a different format than the usual data.
    Well, I am not sure what you mean by format. It is just stuff put in the data feed like regular typing.

    If I typed it on the page, it would be OK. If Webmerge just puts it on the page the way it is in the feed, it should work.

    In fact, I cut and pasted the code from a notepad into the feed. But, come to think of it, when I did, there were a couple of places that Excel seemed to remove the quotes so I typed them back in.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  25. #25
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Leader's got it right. Thanks for sending me the export file, but looking at it I'm sad to report that the format of the file is garbage, and not even Excel can display it correctly. If you look in Excel you'll see that it breaks up the HTML portion into multiple fields: columns K through AS should be a single cell, but Excel is breaking them at odd places, assuming it to be separate fields. It looks like all WebMerge is doing is faithfully parsing the file exactly as Excel understands it.

    Where did the data originally come from? If it's a vendor's product feed, you should let them know their export is broken.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. LittleGrad.com is a UPromise type deal, college savings via download (BHO) helper.
    By Chuck Hamrick in forum Merchants opposed to ParasiteWare
    Replies: 33
    Last Post: December 17th, 2007, 05:06 PM
  2. To Webmerge or not to webmerge, that is the question.
    By martyogelvie in forum Marketing Resources & Power Tools
    Replies: 10
    Last Post: March 12th, 2004, 10:55 PM
  3. What should WebMerge 3.0 look like?
    By Baertracks in forum WebMerge (Fourthworld.com)
    Replies: 9
    Last Post: February 16th, 2004, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •