Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 07-30-2006, 01:04 PM
Staff Sergeant
 
Join Date: Dec 2005
Posts: 45
Default code generator

Is it possible to have a form which 'generates code' from information from the form? e.g. if the form was....

Article Title Field

Article Authors Field

The form would generate this code which woul dappear in some box beneath the form for the user to copy and paste:

<title>Article Title</title>
<meta name=”description” content=”
Article Authors”>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 07-30-2006, 02:33 PM
kassi59's Avatar
Major General
 
Join Date: Nov 2005
Location: Newark Vermont
Posts: 2,782
Default Re: code generator

Im not quite sure what exactly you are looking for. I can direct you to have a look at phpFormGenerator in your fantastico...you also might take a peek at Dew-NewPHPLinks, also in fantastico.
Hope that will get you further along!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 07-30-2006, 05:13 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: code generator

It is not the form that can generate the code, but a script that receives the info from the form and generates the code. Please explain excactly what you want to accomplish
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 07-30-2006, 07:19 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

Like Navaldesign said- it is the coding that produces what you are trying to do. You could have a form with fields to fill in and the php script would out-put that data in what ever format you wish (generally speaking). This can eaisly be accomplished using the echo() or print() command in php.

Post what you would like to do and explain how you would like it to appear -that way we can figure something out for you.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 07-30-2006, 08:26 PM
Staff Sergeant
 
Join Date: Dec 2005
Posts: 45
Default Re: code generator

Well, I want people to submit articles to my site.

However, most of these articles tend to be PDFs and have (totally) useless title and meta descriptions.

So, users submit text files with the title, author and publisher information substituted in as below:

<title>ENTER THE ARTICLE TITLE HERE (ENTER CITATION HERE) - ENTER PUBLISHER HERE</title>
<meta name=”description” content=”
ENTER THE AUTHOR NAMES HERE”>

Then, my search engine can read these text files and substitute in useful title and meta descriptions.

BUT, many of my users would not be that computer literate and turn off as soon as they saw they had to manipulate the above code.

So, if the form could 'generate' the code, all the user would have to do is enter the title, authors and publisher into the appropriate form fields.

They would then copy and paste the generated code (which would magically appear in a box beneath the form) into a text file (without having to think about whether they got the code right) and just upload it.

I hope I made some sense!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 07-30-2006, 08:29 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: code generator

yes, it can be done easily. Contact Watdaflip Form Scripting Service and he will do it for you. If not, post back and i will.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 07-30-2006, 08:33 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

Don't understand the need to cut and paste? C & P into what file?

What is done with this file and how is it merged or incorporated into the pdf file (as far as a title and meta description) that they are uploading?

Are you uploading this to a database?


Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 07-30-2006, 08:40 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: code generator

Andy, i beleive she will have a page for each author, and needs the meta tags for the page.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 07-30-2006, 08:49 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

I am still confused as to the cut and paste? Wouldn't the form collect the info and e-mail it to her to encorporate into the page herself?

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 07-30-2006, 09:14 PM
Staff Sergeant
 
Join Date: Dec 2005
Posts: 45
Default Re: code generator

The text files are desc files with the extension pdf.desc. The search engine identifies the desc file as being associated with a particular pdf, and then uses the title and meta information in the desc file instead of the (useless) data in the pdf. The search results then contains useful title/author/publisher information instead of "No Job Name" or something.

If anyone knows of an open-source script please let me know. Thanks for all your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 07-30-2006, 09:54 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

Jenny-
Thanks. I am intrigued about this and will look into it. Currently- how do you create such a file? With notepad? Modify the pdf itself?

Thanks again.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 07-30-2006, 10:05 PM
Staff Sergeant
 
Join Date: Dec 2005
Posts: 45
Default Re: code generator

To create a desc file (desc for description)

Open a Notepad file > File > Save As > All File types > "blah.pdf.desc"

No modification of the pdf is required, the search engine now gets the title and meta description from the pdf.desc file.

e.g. for a pdf called "cars.pdf", the search engine will look for a text file called "cars.pdf.desc".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old 07-30-2006, 10:18 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

So the search engine searches the desc file and then you link the desc file to a particular pdf file? Correct?

Could you post a typical desc file so I may have a look at its composition?

Thanks again for your time in teaching me this.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old 07-30-2006, 10:37 PM
Staff Sergeant
 
Join Date: Dec 2005
Posts: 45
Default Re: code generator

I tried to upload a pdf.desc file but the forum won't let me (sorry - just says 'invalid'). But I have uploaded these files to my webserver and they work fine.

The search engine indexes the pdf first. Then, the search engine can be programmed to look for a corresponding pdf.desc file on a particular website. If it finds one, it will use the title/meta information in the desc file for the pdf, but there is no "link" between the pdf and the pdf.desc file.

I don't know how the search engine knows to look for the desc files though. The Zoom search engine is the model I have and you can ask the people who developed it (www.wrensoft.com).

This is why I need the form to generate the code for novice websurfers so they can create these text files. Thanks for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old 07-30-2006, 10:50 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: code generator

Yes I understand now. The reason I asked is that you could create a form where they uplod their pdf file and then enter info you request to create the desc file. Then when them hit submit- it would upload the pdf file to your site and create a desc file automatically with the appropriate name and store that file on the site.

Thanks for the info. I am going to look into this. Navaldesign is correct- contact Watdaflip and he would be able to do all this for you. I have used his services and he is very reasonable and knowledgeable.

Contact him via this link;
http://www.vodahost.com/vodatalk/fre...g-service.html

Cheers,
Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


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

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

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


All times are GMT +1. The time now is 03:32 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175