Sending A News Article

I am using asp to create a form where you can send the news article to a friend, and it actually sends the entire article. The problems the article contains <br>,<b>,<i> tags, and when I send the email it shows up like this Quote:

in the Holy Land: The Ideal and the Real. </b><br>
<br><br><br>
The lecture is co-sponsored by the Center for Middle Eastern Studies at
North Park University,

I discovered the replace function. Replace(body, "<br>", chr(09)). That got rid of all the <br> tags, but there are still <b>, <i> tags in there. Is there a way to do a multiple replace like Replace(body, "<br>",chr(09) & "<b>", Chr(09))? I tried it and it did not work. Is there a way to do that?

View Replies


ADVERTISEMENT

How To Get Only An Article

I want to put an article from a newspaper web site into my web site. My aim is to pull only the necessary information which is related to author. Many of the newspapers have daily article from author.

Within author daily article, my only interest to get the article. I do not need any other section from web site.

View Replies View Related

Dividing Article

I am trying to figure out how to divide longer articles in to separate pages with a "next page" function at the bottom of each page.
Thus far, for my information based website, I have created my database, my Articles.asp page, my Catagory.asp page, and my default.asp and I have built a content editor to enter my articles. And all are working great.
My problem is, I would like to divide my longer articles into smaller pages. I see it all the time on sites...so I can't believe it is that hard. Do I need to divide the articles into "fields" in my database? or is there a way to do it without altering my database?

View Replies View Related

MSKB Article

An MSKB article on the scalability of ADO/ASP
(http://support.microsoft.com/kb/176056/EN-US/) says in a discussion of
why connection objects shouldn't be stored in session variables, "If
you do not pool there will be idle connections wasting server and
network resources. You also have some threading issues that can occur
if multiple concurrent threads end up hitting on the same connection
(though the session ID might save you here, but it is conceivable that
a browser could submit two concurrent requests using the same session
ID and you could get into situation with transactions or with SQL
Server's inability to process more than one command at a time on a
given connection)."
What are the potential threading issues here? (Are there threading
issues even when connection objects are created on each page?) I
thought that even with connection pooling, each connection is only
being used by one user at a time. (And what does this have to do with
Session ID?)

View Replies View Related

Article Database - How?

Say I have a 3000 word article in a database field and I want to break it up into a number of pages.

The page break point will be at the end of an paragraph.

View Replies View Related

MSKB Article 299692

I followed the instructions in this article, building the COM+ component and registering it, and creating the two asp files - Upload.asp and Postfile.asp. The problem is that as soon as I submit the Upload form on the Postfile.asp page, I immediately get an "Out of Memory" error from the server. Amazingly though, the file gets uploaded intact.Does anyone have experience using this method or have any ideas as to why I get this error?

View Replies View Related

Storing An 'article' With Text And Images

I need some advice/ideas on how I could do the following:

I want to store articles which contain both images and text - like a writeup of an event - kind of an image and text blog.

I want to store articles in a database probably - at the moment I use access databases.

Clearly I could have the text of my article in one field and store images (or links to them) in other fields and then display all the images at the end of the article but what I want is..

to be able to make it to have text then a few paragraphs down have a nice right aligned image with text to the left of it and then some more text etc etc so it looks like a static, layout planned article.

What would be the best way to go about this? Can this be done by storing in a database?

View Replies View Related

Microsoft Knowledge Base Article

i wanted to get the 411 on this article. I want to create a small utility web site with a logon page and a form connected to an Access database. The article below explains exactly how but when I try this I can only see the code no actual logon page - nothing but code.

My system is asp allowed and asp.net extensions allowed. FP 2002 extensions allowed. All other extensions are prohibited. I am using w2k3 IIS 6.0 and running 3 html sites succesfully all with working forms. Is there something on the server/website itself I need to enable?Why do I only see code and not a logon page as described in the article?

View Replies View Related

Asafaq Article Id=2120 - Paging

I am trying to use GetRowsMove method since we are not using stored
procedures, I got until 77 rows found. Showing page 1 of 2. - nothing shows
up in the list box and GetRowsMove.asp I couldn't get that up and running
instead of your recordset I am pulling from my own database that is the only
difference...

View Replies View Related

Paging Concept Question/pointing The Right Article

So I have that huge database, with a lot of article from different poeple on the same subject. Listing all the articles is too big so I decided to add paging to my pages. So far so good, its working real fine exept for one thing and its here I need help as to how I could configure my things.

For each people with an article a user page is create and in that page are listed their article with the link to them. So how can I specify the link so it knows that the article of that person is at the page=2 or 3 or 4 ... of the paging?

Before paging it was quite simple I was just using an HTML anchor with the reference numberID of the record like this : <a name="<%=RsCritique("refID")%>"></a>

Any idea?

View Replies View Related

RSS News Feeds And XML

I have written a RSS News Fees application for my site, by I want to limit the number of news items to only 5 instead of the 10 that Reuters sends. Here is the main code:

View Replies View Related

Asp News Archive

As the client uploads the December news story, it replaces the November story and adds November to a dropdown menu on the news page.For example, all archived months stories can be accessed from the dropdown menu and the current month is visible on the page.
Hope this makes sense! Can anyone help, or point me in the way of some script I can download?

View Replies View Related

News Lettor

I put together a simple link for people who want to submit their email address to receive a newsletter. People are directed to the correct page but when they try to submit their address, the following error comes up:

Microsoft OLE DB Provider for ODBC Driverserror '80004005'
[Microsoft][ODBC Driver Manager] Data source name too long
/emailnewsletter.asp, line 76

Line 76 in /emailnewsletter.asp says:
MM_editCmd.ActiveConnection = MM_editConnection;

Here is the whole text for emailnewsletter.asp: Code:

View Replies View Related

Automate News

Everyday of my life the last year has started by searching through a lot websites in order to find the latest news, and then making a link to that news from my webpage. What I have always dreamt about is some kind of automation.

Is it possible to make a script in ASP that searches through a website and gathers info on title, URL and such, and then automatically inserting it into my website (via for instance a SQL database)?

View Replies View Related

XML For News Feeds

I have made an ASP page that dynamically creates an XML page from articles stored in an Access Database. It works great and i was well pleased with myself.I was then sitting back admiring my own work when i suddenly thought.The page ends in .asp and not .xml.So i downloaded some free feed readers and news readers and they all found the feed with no problem and i thought i was going to be alright then it clicked - What if the "person" who wants to add my feed to their own site for example, has their site written in PHP?

I wrote a little PHP script that dynamically inserts feeds and sure enough, it will not accept a feed URL ending in .asp. It's (of course) fine if it ends in .xml So, (sorry for going on) Im wondering on your thoughts about this and what you would do? How LESS efective do you think an XML feed ending in .asp is?

View Replies View Related

News Archive

i want to add this portion to my site.i want to display category of news depending on date.i want to display such news one month back from current date.

View Replies View Related

ASP News Script

My site is currently 90% asp, which has created a huge problem when tryign to find a free news/journal script to put on my site. Do you know any good free news scripts that allow you to do the normal stuff: post news, admin login, upload pics, user comments (optional), keep an archive of all the old stuff past X posts, ect?

I could in theory, write my own script but I do not have that kinda time on my hands either.

View Replies View Related

RSS News Feed

Anyone know the code to retrieve and display an rss news feed ?

View Replies View Related

Rss News Feeds

I'm trying to make an ASP page with VS .NET 03 using VB as the language and I want the page to display an Rss News Feed as page content form another RSS News Feed on a web page served by another one of my IIS srevers, I don't know how to do this it sounds simple enuf but were do I start is it a simple one line of code deal or it it complex to do I havent really played around with Rss news Feeds much give me some feed back .

View Replies View Related

News Reader

How can I get my reader (outlook express) to purge out the threads that are "Message is no longer available on the server" Is there a way?

View Replies View Related

News Items

This is my scenario. On the left of the screen, I have a list of news items, which are updated by the user and inserted into a database, and then they are dynamically displayed on screen from the database.
Now what I want is that if a user clicks a hyperlink from the left of the screen on a news item, the relevant text is displayed on the right. What I did up till now was that if I point on a news Item to the left of the screen, I know which item in the recordset it is since I created a counter.

View Replies View Related

News Scrollbar

I would like to add a horizontal news scrollbar added to my page that is fed by an ACCESS db. Does anyone have a link of where I can find a script for something like this?

View Replies View Related

Develop A News Bulletin

I have to develop a news bulletin system for my website. Plz can someone help with suitable links or examples to develop this. Im using asp with vbscript and sqlserver backend.

View Replies View Related

Creating News Archive

i have a created a CMS in which newstitle, the newsdetails and date(automatically inserted using the date() function) that it is added is inserted into an access db.
Now what i want to do is to create a news archive list which groups the news item added by month, so let's for the month of july all news are grouped into a heading call july(2007).

View Replies View Related

Hide A News Item

I have added a new field in my database for the news items, basically a boolean value (true or false) for the display or hide of a news article. I have simple added to my queries WHERE newsDisplay, and that does the job except now I have one query qhich is actually causing me a small problem, due to the query already having a where clause.

like below:

dbSelectQuery("SELECT * FROM tblNews WHERE newsID ORDER BY newsDate DESC")

So that leaves me a little puzzled as to going about this query which should solve the small issue, I was even thinking is there a way I can use an if operator. Something along the lines of if newsDisplay = true or checked then do something else. Someone must know. I just dont think you can actually use an if statement on a sql query? Any tips would be perfect . PS - The new field I have added is newsDisplay as a yes/no in an access database.

View Replies View Related

News Include File

I'm trying to include file if ?news=news by this code but is not working. Code:

<% news_page = request.queryString("news")

if news_page <> "" then

include file="test.asp"

end if
%>

View Replies View Related

News System Without Database

I have a news page on a web site that now needs to be seperated in to a number of 'views' (eg. so that each user sees a different set of articles). I would like to stay away from using 20 include files!

I know how to do this with php but this time I don't have the luxury of being in an environment I'm familiar with. I also need to do this without a database, and in the most economical way possible.

View Replies View Related

Connect To News Server

can anyone tell me if it is possible to use asp to connect to a news group, such as this?

View Replies View Related

Create Blog/news Archive In Asp

I have being trying a create a dynamic news section on my web site for a while now and I cant get it to work.

I would link the home page to display the four newest news items and then a link to a news archive on a seperate page.

The news archive will have links ordered by YEAR then MONTH, similar to the following page: Code:

View Replies View Related

Complete News Script, Comment And Check

Just finished creating my own news script and was wondering if someone could look at it for me comment on it, how secure is it etc.

View Replies View Related

Sending SMS By ASP

I am woundering if I can write a code in ASP to send SMS by communicating with a mobile phone which is connected to the PC ...

View Replies View Related

Sending A Fax From ASP Under XP

I've used the search tool and found several pages regarding sending faxes under ASP, but they all seem to suggest using some internet faxing service.

I don't know if this is possible, and it probably isn't under XP without additional software. (Small company, simple intranet site built on IIS.) I have a PDF form for an agreement for our customers.

Now, I already have a page setup where our reps simply input the customer's email address and it will send the form as an attachment. What I would like to do is make another page where the rep just puts in the customers phone number and it will fax the same pdf to the provided number. Is that possible through ASP on XP?

I've been looking around for some solution and I found this:http://support.microsoft.com/kb/303647 for W2K.

View Replies View Related

Sending Sms

does any one know how to send sms to a mobile phone through a website using asp without using any components.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved