 |
|
 |
!!!!
WPF - Imagineers Wanted
Follow your nose using DoubleAnimationUsingPath
|
|
|
|
 |
|
 |
The shortest non-article ever!
John Conwell
|
|
|
|
 |
|
 |
theres nothing much fancy on programming side of it. Being a developer you can easily see whats going inside the project. standard stuff. Dont want to waste developers time in making them read something they already know, the thing to understand is the approach and need suggestions to optimise it and give more features to it ... would welcome these suggestions as this is something running in my organization and wud love to have more features for the other group developers in my company who are using it.
|
|
|
|
 |
|
|
 |
|
 |
But there is nothing in the article to show whats behind in the project. The whole point of the article is to explain what is being put across in the project, so the reader can see if there is any point in downloading the code. This article is like holding a conversation and finishing it halve way through without concluding properly.
Consider this defintion of an article
"An article is a stand-alone section of a larger written work. These nonfictional prose compositions appear in magazines, newspapers, academic journals, the internet, or any other type of publication."
and
"A complete piece of writing that is part of a larger work such as an encyclopedic article or a journal article."
Something some of the authors on this site should consider reading before submitting their work..
|
|
|
|
 |
|
 |
It's just a code dump, nothing more nothing less.
WPF - Imagineers Wanted
Follow your nose using DoubleAnimationUsingPath
|
|
|
|
 |
|
 |
How to access the RSS feeds after inserting them in the sql table
|
|
|
|
 |
|
 |
Once you have created the table [RSSFeeds] in sql server, then you need to configure the application.config file. Here you will find <add key="ConnectionString" value="Data Source=XXXX;Initial Catalog=XXX;User Id=XXXX;Password=XXXXX" /> in this u put your datasource as database server, initial catalog as database name and username and password then create virtual folder in ur iis give the physical path in app config <add key="FilesDrop" value="C:\Inetpub\wwwroot\RSSFeeds\" /> remember: in table, the column name "Category" is going to be the name of the file generated in ur drop folder i.e. news.xml. its just i named the column wrong you can change it to "filename". do look into public void FetchXML() in rssfeeds.cs file in the rssfeedservice project. i hope i answered your question else do ask if its still not clear.
|
|
|
|
 |
|
 |
I know this prob sounds silly, but which .config file am I supposed to edit.
I took these steps to install the program:
extracted files to my inetpub/wwwroot folder
ran the setup file and it installed some stuff to Program Files\ADNOC\RSSFeed Service Setup
edited the entries in the .config file there
created my rssfeeds table and populated it with info
But still nothing happens?
Kinda lost here so please help
|
|
|
|
 |
|
 |
its a windows service. you dont need to extract the files in wwwroot. You need to create a virtual directory for something else. The virtual directory which you will create will be used by this windows service. This windows service will drop the xml files i.e. rss feeds into the virtual directory. Hence the service will goto internet, get the xml files and save it in this virtual directory.
You also need to run the windows service by using the controller exe provided with it OR you can run it by going to admintools -> services and start the rssfeed service. you can trace your rss feed status by going to the event viewer to see if it started succeesfully. Once you have done ur config files, add entries in the database with name and url of rss feeds and started the service you will see xml files being dropped in your virtual folders.
Hope this helps
|
|
|
|
 |
|
 |
Arif Habib Shadan wrote: You need to create a virtual directory for something else. The virtual directory which you will create will be used by this windows service. This windows service will drop the xml files i.e. rss feeds into the virtual directory.
Do I have to give the virtual directory a specific name for this service to access?
thanks for the quick reply
|
|
|
|
 |
|
 |
No its upto you whatever name you give but you need to reflect the change in your configuration file i.e. Files drop location
|
|
|
|
 |
|
 |
I have follow your instructions and got the xml files generate under the virtual directory but still not getting any RSS feed to the server. Please see below xml file and see if you can tell me what I did wrong.
Thank you.
<html>
<!-- This is all just a super-duper redirect to the Welcome page
If the user has Javascript 1.1 installed, they don't get their history
messed up. Otherwise, it behaves like a normal redirect, and even has
fallbacks to non JS and browsers that don't handle the meta refresh tag
-->
<head>
<script language="JavaScript">
<!--
var sThisURL = unescape('/welcome/index.html');
function doRedirect()
{
actualRedirect();
}
function actualRedirect()
{
setTimeout( "top.location.href = sThisURL", 500 );
}
//-->
</script>
<script language="JavaScript1.1">
<!--
function actualRedirect()
{
// this is a better way to do it if we have JS 1.1, not adding
// to the browser's history
top.location.replace( sThisURL );
}
if ( "MSIE" == navigator.appName )
doRedirect();
//-->
</script>
</head>
<meta http-equiv="refresh" content="1;url=/welcome/index.html" target="top">
<body bgcolor="white" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" önload="doRedirect()">
</body>
</meta></html>
|
|
|
|
 |